mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
prevent strpos to fail, if lable is empty
This commit is contained in:
parent
a6836fb367
commit
3e0ff9b004
@ -666,7 +666,7 @@ class nextmatch_widget
|
||||
{
|
||||
$cols[$widget['name']] = $label;
|
||||
}
|
||||
elseif (strpos($cols[$col],$label) === false)
|
||||
elseif (empty($label) || strpos($cols[$col],$label) === false)
|
||||
{
|
||||
$cols[$col] .= ($cols[$col] ? ', ' : '').$label;
|
||||
$cols['name2col'][$col] = $col;
|
||||
|
Loading…
Reference in New Issue
Block a user