diff --git a/etemplate/inc/class.nextmatch_widget.inc.php b/etemplate/inc/class.nextmatch_widget.inc.php index 06cfdcb3f6..9ecc732221 100644 --- a/etemplate/inc/class.nextmatch_widget.inc.php +++ b/etemplate/inc/class.nextmatch_widget.inc.php @@ -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