mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Make sure if options-selectcols is set by caller, we don't clear it
This commit is contained in:
parent
f1ae1c456d
commit
978a1d9642
@ -321,7 +321,7 @@ class nextmatch_widget
|
||||
if (!$value['no_columnselection'])
|
||||
{
|
||||
// presetting the options for selectcols empty, so the get_rows function can set it
|
||||
$value['options-selectcols'] = array();
|
||||
$value['options-selectcols'] = is_array($value['options-selectcols']) ? $value['options-selectcols'] : array();
|
||||
}
|
||||
$rows = array();
|
||||
if(is_callable($method)) // php5.3+ call
|
||||
|
Loading…
Reference in New Issue
Block a user