mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
do not fail with fatal PHP error, if hook no longer exists
This commit is contained in:
parent
758a4557de
commit
91376d80d9
@ -79,7 +79,7 @@ class filemanager_ui
|
||||
// search for plugins with additional filemanager views
|
||||
foreach($GLOBALS['egw']->hooks->process('filemanager_views') as $app => $views)
|
||||
{
|
||||
if ($views) self::$views += $views;
|
||||
if (is_array($views)) self::$views += $views;
|
||||
}
|
||||
self::$views_init = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user