cvs: smarty /libs Smarty_Compiler.class.php
| From: | Messju Mohr | Date: | Mon, 31 Mar 2003 21:57:41 +0000 |
| Subject: | cvs: smarty /libs Smarty_Compiler.class.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-503@lists.php.net to get a copy of this message | ||
messju Mon Mar 31 16:57:41 2003 EDT
Modified files:
/smarty/libs Smarty_Compiler.class.php
Log:
fixed flaw when generating an error for missing postfilter
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.198 smarty/libs/Smarty_Compiler.class.php:1.199
--- smarty/libs/Smarty_Compiler.class.php:1.198 Wed Mar 26 13:06:09 2003
+++ smarty/libs/Smarty_Compiler.class.php Mon Mar 31 16:57:41 2003
@@ -327,7 +327,7 @@
$template_compiled = $postfilter[0]($template_compiled, $this);
$this->_plugins['postfilter'][$filter_name][3] = true;
} 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");
}
}
}