diff --git a/api/src/Etemplate/Widget/Nextmatch.php b/api/src/Etemplate/Widget/Nextmatch.php index ae25e21121..f1f6e80661 100644 --- a/api/src/Etemplate/Widget/Nextmatch.php +++ b/api/src/Etemplate/Widget/Nextmatch.php @@ -484,14 +484,14 @@ class Nextmatch extends Etemplate\Widget $request_value =& self::get_array(self::$request->content, $form_name,true); $changes = $no_rows = false; - foreach($value_in as $key => $original_value) + foreach(array_keys($value_in) + array_keys($value) as $key) { // These keys are ignored if(in_array($key, array('col_filter','start','num_rows','total','order','sort'))) { continue; } - if($original_value == $value[$key]) continue; + if($value_in[$key] == $value[$key]) continue; // These keys we don't send row data back, as they cause a partial reload if(in_array($key, array('template'))) $no_rows = true;