mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
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)
|
||||
{
|
||||
if(strpos($name, 'options-') !== false)
|
||||
if(strpos($name, 'options-') !== false && $_value)
|
||||
{
|
||||
$select = substr($name, 8);
|
||||
if(!self::$request->sel_options[$select])
|
||||
|
Loading…
Reference in New Issue
Block a user