mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
fixed wrong parameter type warning
This commit is contained in:
parent
0871a4019c
commit
5efac64eff
@ -586,7 +586,7 @@ class nextmatch_widget
|
|||||||
|
|
||||||
if ($this->selectcols)
|
if ($this->selectcols)
|
||||||
{
|
{
|
||||||
foreach(explode(',',$this->selectcols) as $col)
|
foreach(is_array($this->selectcols) ? $this->selectcols : explode(',',$this->selectcols) as $col)
|
||||||
{
|
{
|
||||||
if ($col[0] == self::CF_PREFIX) $allowed[] = $col;
|
if ($col[0] == self::CF_PREFIX) $allowed[] = $col;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user