mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Make sure that current user menu is an array before creating it
This commit is contained in:
parent
4b5890a501
commit
56211347c9
@ -1183,7 +1183,7 @@ abstract class Framework extends Framework\Extra
|
||||
$this->_add_topmenu_info_item(self::_get_notification_bell(), 'notifications');
|
||||
}
|
||||
$this->_add_topmenu_info_item($this->_user_avatar_menu(), 'user_avatar');
|
||||
$this->_add_topmenu_item($this->_current_users());
|
||||
if (is_array(($current_user = $this->_current_users()))) $this->_add_topmenu_item($current_user);
|
||||
$this->_add_topmenu_info_item($vars['quick_add'], 'quick_add');
|
||||
$this->_add_topmenu_info_item($this->_print_menu(), 'print_title');
|
||||
// Add extra items added by hooks
|
||||
|
Loading…
Reference in New Issue
Block a user