diff --git a/gosa-core/include/smarty/sysplugins/smarty_internal_compile_nocache.php b/gosa-core/include/smarty/sysplugins/smarty_internal_compile_nocache.php
index 3a4e113504eb6fad443df53c1014d6a4fd05bcb9..0c88b14bd57d7c9111cc7018773558ebe94351ce 100644 (file)
{
$this->compiler = $compiler;
$_attr = $this->_get_attributes($args);
+ if ($_attr['nocache'] === true) {
+ $this->compiler->trigger_template_error('nocache option not allowed', $this->compiler->lex->taglineno);
+ }
// enter nocache mode
$this->compiler->nocache = true;
// this tag does not return compiled code