diff --git a/etemplate/inc/class.nextmatch_widget.inc.php b/etemplate/inc/class.nextmatch_widget.inc.php index 09dae99e1b..d42d882415 100644 --- a/etemplate/inc/class.nextmatch_widget.inc.php +++ b/etemplate/inc/class.nextmatch_widget.inc.php @@ -229,7 +229,7 @@ unset($value['rows']['sel_options']); } } - if ($value['start'] >= $total) + if ($method && $total && $value['start'] >= $total) { $value['start'] = 0; $total = $obj->$method($value,$value['rows'],$readonlys['rows']);