cvs: smarty /libs Smarty.class.php
| From: | Messju Mohr | Date: | Sun, 27 Apr 2003 18:10:03 +0000 |
| Subject: | cvs: smarty /libs Smarty.class.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-565@lists.php.net to get a copy of this message | ||
messju Sun Apr 27 14:10:03 2003 EDT
Modified files:
/smarty/libs Smarty.class.php
Log:
fixed notice in _load_plugins()
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.383 smarty/libs/Smarty.class.php:1.384
--- smarty/libs/Smarty.class.php:1.383 Sun Apr 27 14:04:33 2003
+++ smarty/libs/Smarty.class.php Sun Apr 27 14:10:02 2003
@@ -42,7 +42,7 @@
* @version 2.5.0
*/
-/* $Id: Smarty.class.php,v 1.383 2003/04/27 18:04:33 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.384 2003/04/27 18:10:02 messju Exp $ */
/**
* set SMARTY_DIR to absolute path to Smarty library files.
@@ -2417,7 +2417,7 @@
* checked for existence yet or not.
*/
if (isset($plugin)) {
- if (!$plugin[3]) {
+ if (empty($plugin[3])) {
if (!$this->_plugin_implementation_exists($plugin[0])) {
$this->_trigger_fatal_error("[plugin] $type '$name' is
not implemented", $tpl_file, $tpl_line, __FILE__, __LINE__);
} else {