1
0
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:
Nathan Gray 2012-06-26 23:00:22 +00:00
parent 4a98ec1a26
commit 69812c92ee

View File

@ -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];
}