Code

Updated smarty to 3.0.5
[gosa.git] / gosa-core / include / smarty / sysplugins / smarty_internal_compile_foreach.php
index 9564c6a25bcacec884ea758ace210074390bf917..6ad1e07ef3d64a32f7f285219f717380e99b6353 100644 (file)
@@ -37,7 +37,7 @@ class Smarty_Internal_Compile_Foreach extends Smarty_Internal_CompileBase {
         $item = $_attr['item'];
 
         if (substr_compare("\$_smarty_tpl->getVariable($item)", $from,0, strlen("\$_smarty_tpl->getVariable($item)")) == 0) {
-            $this->compiler->trigger_template_error("item parameter {$item} may not be the same parameter at 'from'");
+            $this->compiler->trigger_template_error("item variable {$item} may not be the same variable as at 'from'", $this->compiler->lex->taglineno);
         } 
 
         if (isset($_attr['key'])) {