fixed flaw when generating an error for missing postfilter

This commit is contained in:
messju
2003-03-31 21:57:41 +00:00
parent 5985ce2862
commit 45ff82cf10

View File

@@ -327,7 +327,7 @@ class Smarty_Compiler extends Smarty {
$template_compiled = $postfilter[0]($template_compiled, $this); $template_compiled = $postfilter[0]($template_compiled, $this);
$this->_plugins['postfilter'][$filter_name][3] = true; $this->_plugins['postfilter'][$filter_name][3] = true;
} else { } else {
$this->_trigger_plugin_error("Smarty plugin error: postfilter '$filter_name' is not implemented"); $this->_trigger_fatal_error("Smarty plugin error: postfilter '$filter_name' is not implemented");
} }
} }
} }