From a4133ab8943995ceb47fc89993b11990155b60b9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 23 Jun 2008 06:46:58 +0000 Subject: [PATCH] "temporary disabled additional nextmatch row on the bottom of the list for php5.2.6, until I find time to fix it" --- etemplate/inc/class.nextmatch_widget.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etemplate/inc/class.nextmatch_widget.inc.php b/etemplate/inc/class.nextmatch_widget.inc.php index b8e894384e..663226286a 100644 --- a/etemplate/inc/class.nextmatch_widget.inc.php +++ b/etemplate/inc/class.nextmatch_widget.inc.php @@ -243,6 +243,11 @@ class nextmatch_widget case 'nextmatch-customfields': return $this->_pre_process_cf_header($cell,$tmpl); } + // does NOT work with php5.2.6 ... + if (version_compare(PHP_VERSION,'5.2.6','>=')) + { + $value['bottom_too'] = false; + } // presetting the selectboxes with their default values, to NOT loop, because post-process thinks they changed if (!isset($value['cat_id'])) $value['cat_id'] = ''; if (!isset($value['search'])) $value['search'] = '';