From da6d3d2d19b406cd2ced3963dab84123128442ac Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 9 Oct 2013 17:32:28 +0000 Subject: [PATCH] Also ignore total, or it will reset the normal method of setting it... --- etemplate/inc/class.etemplate_widget_nextmatch.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php index 5dc2f2abc4..c672ecaa98 100644 --- a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php +++ b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php @@ -331,7 +331,10 @@ class etemplate_widget_nextmatch extends etemplate_widget foreach($value_in as $key => $original_value) { // These keys are ignored - if(in_array($key, array('col_filter','start','num_rows','order','sort'))) continue; + if(in_array($key, array('col_filter','start','num_rows','total','order','sort'))) + { + continue; + } if($original_value == $value[$key]) continue; // These keys we don't send row data back, as they cause a partial reload