mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-15 14:02:17 +00:00
MessageLib -> sendMessage: if no sender_id is specified the system default person_id will be used
This commit is contained in:
@@ -199,7 +199,9 @@ class MessageLib
|
||||
public function sendMessage($sender_id, $receiver_id, $subject, $body, $priority = PRIORITY_NORMAL, $relationmessage_id = null, $oe_kurzbz = null)
|
||||
{
|
||||
if (!is_numeric($sender_id))
|
||||
return $this->_error('', MSG_ERR_INVALID_SENDER_ID);
|
||||
{
|
||||
$sender_id = $this->ci->config->item('system_person_id');
|
||||
}
|
||||
|
||||
$receivers = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user