forked from extern/egroupware
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'])
|
if (!$value['no_columnselection'])
|
||||||
{
|
{
|
||||||
// presetting the options for selectcols empty, so the get_rows function can set it
|
// 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();
|
$rows = array();
|
||||||
if(is_callable($method)) // php5.3+ call
|
if(is_callable($method)) // php5.3+ call
|
||||||
|
Loading…
Reference in New Issue
Block a user