mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
- Added new config entris for messaging: ou_receivers_no_notice and ou_receivers_private
- MessageLib: - Renamed method sendAllNotices to sendAllEmailNotices - Renamed method _sendOneNotice to _sendNoticeEmails - Renamed method _sendNotice to _sendNoticeEmail - If the recipient contact is empty is not anymore a blocking error - Recipient_model->getMessageById renamed to getMessagesById, not it accepts an array of message ids, could return more results - Fixed bug in public/js/messaging/writeReply.js to send subject value
This commit is contained in:
@@ -422,7 +422,7 @@ class Recipient_model extends DB_Model
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function getMessageById($message_id)
|
||||
public function getMessagesById($messageIds)
|
||||
{
|
||||
$sql = 'SELECT mm.message_id,
|
||||
mm.person_id AS sender_id,
|
||||
@@ -437,8 +437,8 @@ class Recipient_model extends DB_Model
|
||||
mr.oe_kurzbz AS receiver_ou
|
||||
FROM public.tbl_msg_message mm
|
||||
JOIN public.tbl_msg_recipient mr ON (mr.message_id = mm.message_id)
|
||||
WHERE mm.message_id = ?';
|
||||
WHERE mm.message_id IN ?';
|
||||
|
||||
return $this->execQuery($sql, array($message_id));
|
||||
return $this->execQuery($sql, array($messageIds));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user