This commit is contained in:
hufangzhou
2022-04-11 10:08:13 +08:00
parent 8847f7863d
commit df4c83b23a
4 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ class messageModel extends model
{
/* Get notifiy persons. */
$notifyPersons = array();
if(!empty($object->notify)) $notifyPersons = $this->loadModel('release')->getNotifyPersons($object->notify, $object->product, $object->build, $object->id);
if(!empty($object->notify)) $notifyPersons = $this->loadModel('release')->getNotifyPersons($object);
if(!empty($notifyPersons)) $toList = implode(',', $notifyPersons);
}