diff --git a/gosa-core/include/smarty/sysplugins/smarty_internal_compile_foreach.php b/gosa-core/include/smarty/sysplugins/smarty_internal_compile_foreach.php
index 9564c6a25bcacec884ea758ace210074390bf917..6ad1e07ef3d64a32f7f285219f717380e99b6353 100644 (file)
$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'])) {