mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix/avoid warning on NULL sel_options subarray in fix_sel_options
This commit is contained in:
parent
bab4de6d16
commit
01fdd4d33a
@ -258,6 +258,7 @@ class etemplate_new extends etemplate_widget_template
|
||||
{
|
||||
foreach($sel_options as &$options)
|
||||
{
|
||||
if (!is_array($options)||empty($options)) continue;
|
||||
foreach($options as $key => $value)
|
||||
{
|
||||
if (is_numeric($key) && (!is_array($value) || !isset($value['value'])))
|
||||
|
Loading…
Reference in New Issue
Block a user