fixed not working custom date filter

This commit is contained in:
Ralf Becker 2014-09-02 16:26:58 +00:00
parent 2e12d67188
commit 3564a03529

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