diff --git a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php index b311db017e..61d1e0c827 100644 --- a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php +++ b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php @@ -98,6 +98,13 @@ class etemplate_widget_nextmatch extends etemplate_widget $value['num_rows'] = self::INITIAL_ROWS; $value['rows'] = array(); $value['total'] = self::call_get_rows($value, $value['rows'], self::$request->readonlys); + + // Send categories + if(!$value['no_cat'] && !$value['cat_is_select']) + { + $cat_app = $value['cat_app'] ? $value['cat_app'] : ''; + $value['options-cat_id'] = etemplate_widget_menupopup::typeOptions('select-cat', ',,'.$cat_app,$no_lang,false,$value['cat_id']); + } // todo: no need to store rows in request, it's enought to send them to client error_log(__METHOD__."() $this: total=$value[total]");