fixed not working custom date filter

This commit is contained in:
Ralf Becker 2014-09-02 16:26:37 +00:00
parent 757a741d99
commit d50ccc9c21

View File

@ -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),
);