From 309532e8e246d0bfdcae5b2eaa85fa8b186b5992 Mon Sep 17 00:00:00 2001 From: messju Date: Thu, 3 Jul 2003 14:12:01 +0000 Subject: [PATCH] fixed initialisation of $this->_plugins in compile_block_tag() --- libs/Smarty_Compiler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index d9f0e9d3..cced0a67 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -635,7 +635,7 @@ class Smarty_Compiler extends Smarty { $message = "plugin function $plugin_func() not found in $plugin_file\n"; $have_function = false; } else { - $this->_plugins['block'][$tag_command] = array($plugin_func, null, null); + $this->_plugins['block'][$tag_command] = array($plugin_func, null, null, null, true); } }