Fixed Syntax Error in Message API

This commit is contained in:
Andreas Österreicher
2020-03-10 16:41:01 +01:00
parent b77e30f56b
commit 2df57dd019
@@ -149,10 +149,10 @@ class Message extends APIv1_Controller
if (isSuccess($postMessage))
{
$result = $this->messagelib->sendMessageUser(
$this->post()['receiver_id']), // receiverPersonId
$this->post()['receiver_id'], // receiverPersonId
$this->post()['subject'], // subject
$this->post()['body'], // body
$this->post()['person_id']) ? $this->post()['person_id'] : null, // sender_id
$this->post()['person_id'] ? $this->post()['person_id'] : null, // sender_id
isset($this->post()['oe_kurzbz']) ? $this->post()['oe_kurzbz'] : null, // senderOU
isset($this->post()['relationmessage_id']) ? $this->post()['relationmessage_id'] : null, // relationmessage_id
MSG_PRIORITY_NORMAL, // priority