mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-06 14:09:52 +01:00
Avoid fatal error if it exists, but is not an array
This commit is contained in:
parent
4a98ec1a26
commit
69812c92ee
@ -192,7 +192,7 @@ class etemplate_widget_menupopup extends etemplate_widget
|
||||
}
|
||||
|
||||
// Check for options-$name in content
|
||||
if (isset(self::$request->content['options-'.$name]))
|
||||
if (is_array(self::$request->content['options-'.$name]))
|
||||
{
|
||||
$options += self::$request->content['options-'.$name];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user