mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fixed flaw when generating an error for missing postfilter
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user