mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
prevent foreach warning, when & is not an array
This commit is contained in:
parent
06fb05a891
commit
ed040955bb
@ -134,7 +134,7 @@ class historylog_widget
|
||||
|
||||
$status = 'status';
|
||||
// allow to set a diffent name for status (field-name), eg. because status is already used for something else
|
||||
if (!empty($cell['size']) && isset($tmpl->sel_options[$cell['size']]))
|
||||
if (!empty($cell['size']) && isset($tmpl->sel_options[$cell['size']]) && is_array($value))
|
||||
{
|
||||
$status = $cell['size'];
|
||||
foreach($value as &$row)
|
||||
|
Loading…
Reference in New Issue
Block a user