mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-19 13:10:58 +01:00
fix/avoid warning on NULL sel_options subarray in fix_sel_options
This commit is contained in:
parent
ec180093b4
commit
c217c4a60f
@ -257,6 +257,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