From 89dadea91f9bf84b19832afa28c8ed0e4df96e90 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 5 Mar 2005 14:55:38 +0000 Subject: [PATCH] removing the pressed first, left, right and last button-values from the returned result, as we use them (only) internal --- etemplate/inc/class.nextmatch_widget.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etemplate/inc/class.nextmatch_widget.inc.php b/etemplate/inc/class.nextmatch_widget.inc.php index d4fa24244f..e31ab946c7 100644 --- a/etemplate/inc/class.nextmatch_widget.inc.php +++ b/etemplate/inc/class.nextmatch_widget.inc.php @@ -320,21 +320,25 @@ elseif ($value['first']) { $value['start'] = 0; + unset($value['first']); $loop = True; } elseif ($value['left']) { $value['start'] = $old_value['start'] - $max; + unset($value['left']); $loop = True; } elseif ($value['right']) { $value['start'] = $old_value['start'] + $max; + unset($value['right']); $loop = True; } elseif ($value['last']) { $value['start'] = (int) (($old_value['total']-2) / $max) * $max; + unset($value['last']); $loop = True; } elseif ($nm_global['order'])