From 3564a0352926a58fc352d837072bb4156c2dad44 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 2 Sep 2014 16:26:58 +0000 Subject: [PATCH] fixed not working custom date filter --- etemplate/inc/class.etemplate_widget_nextmatch.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php index 45e49c81bd..586c0dc14c 100644 --- a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php +++ b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php @@ -294,7 +294,7 @@ class etemplate_widget_nextmatch extends etemplate_widget if (($template = etemplate_widget_template::instance(self::$request->template['name'], self::$request->template['template_set'], self::$request->template['version'], self::$request->template['load_via']))) { - $template = $template->getElementById($form_name, strpos($form_name, 'history') == 0 ? 'historylog' : 'nextmatch'); + $template = $template->getElementById($form_name, strpos($form_name, 'history') === 0 ? 'historylog' : 'nextmatch'); $expand = array( 'cont' => array($form_name => $filters), );