From: Andreas Gohr Date: Mon, 18 Nov 2013 13:15:20 +0000 (+0100) Subject: initialize standard template vars earlier X-Git-Tag: 0.8.0~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d8a4f0d5378f786edf8992bb0332dc6701bb53e3;p=contagged initialize standard template vars earlier --- diff --git a/index.php b/index.php index 2e13d65..56e98ab 100644 --- a/index.php +++ b/index.php @@ -12,6 +12,8 @@ $entrytpl = 'list_entry.tpl'; } + tpl_std(); + // check which fields are needed $fields = get_fields_from_template($entrytpl); @@ -37,7 +39,6 @@ } //prepare templates - tpl_std(); if (empty($_REQUEST['filter'])) $_REQUEST['filter']=''; if (empty($_REQUEST['marker'])) $_REQUEST['marker']=''; if (empty($_REQUEST['search'])) $_REQUEST['search']='';