aboutsummaryrefslogtreecommitdiffstats
path: root/include/template_processor.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/template_processor.php')
-rwxr-xr-xinclude/template_processor.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/template_processor.php b/include/template_processor.php
index 8671587fc..06c49a708 100755
--- a/include/template_processor.php
+++ b/include/template_processor.php
@@ -80,7 +80,7 @@
*/
private function _replcb_for($args){
$m = array_map('trim', explode(" as ", $args[2]));
- list($keyname, $varname) = explode("=>",$m[1]);
+ @list($keyname, $varname) = explode("=>",$m[1]);
if (is_null($varname)) { $varname=$keyname; $keyname=""; }
if ($m[0]=="" || $varname=="" || is_null($varname)) die("template error: 'for ".$m[0]." as ".$varname."'") ;
//$vals = $this->r[$m[0]];