mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
getNotificationList() returns an empty array if there are no notifications
This commit is contained in:
parent
ee57a4b25b
commit
8af9d0fc28
|
@ -43,7 +43,7 @@ class SeedDMS_View_ManageNotify extends SeedDMS_Bootstrap_Style {
|
|||
$notifications = array();
|
||||
if ($as_group){
|
||||
if(!($groups = $this->user->getGroups()))
|
||||
return NULL;
|
||||
return array();
|
||||
|
||||
foreach ($groups as $group) {
|
||||
$tmp = $group->getNotifications($folders ? T_FOLDER : T_DOCUMENT);
|
||||
|
|
Loading…
Reference in New Issue
Block a user