* Fixed issue with publishing browser notifications.

This commit is contained in:
tianshujie98
2021-08-18 17:02:01 +08:00
parent 957449bcf9
commit 39ddc67619

View File

@@ -168,7 +168,7 @@ class messageModel extends model
{
/* Get notifiy persons. */
$notifyPersons = array();
if(!empty($toList->notify)) $notifyPersons = $this->loadModel('release')->getNotifyPersons($object->notify, $object->product, $object->build);
if(!empty($object->notify)) $notifyPersons = $this->loadModel('release')->getNotifyPersons($object->notify, $object->product, $object->build);
foreach($notifyPersons as $account)
{