From 3919c2a8af70c86473e5d86d242b00a13b1581c2 Mon Sep 17 00:00:00 2001 From: messju Date: Sun, 27 Apr 2003 18:10:02 +0000 Subject: [PATCH] fixed notice in _load_plugins() --- libs/Smarty.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 92c8d7cb..4575505a 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -2417,7 +2417,7 @@ class Smarty * 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 {