forked from extern/egroupware
Check for value before trying to use it
This commit is contained in:
parent
25c95ce870
commit
b79460e7a0
@ -191,7 +191,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
|||||||
}
|
}
|
||||||
foreach($value as $name => $_value)
|
foreach($value as $name => $_value)
|
||||||
{
|
{
|
||||||
if(strpos($name, 'options-') !== false)
|
if(strpos($name, 'options-') !== false && $_value)
|
||||||
{
|
{
|
||||||
$select = substr($name, 8);
|
$select = substr($name, 8);
|
||||||
if(!self::$request->sel_options[$select])
|
if(!self::$request->sel_options[$select])
|
||||||
|
Loading…
Reference in New Issue
Block a user