cvs: smarty /libs Smarty_Compiler.class.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1057241521@cvsserver>
messju		Thu Jul  3 10:12:01 2003 EDT

  Modified files:              
    /smarty/libs	Smarty_Compiler.class.php 
  Log:
  fixed initialisation of $this->_plugins in compile_block_tag()
  
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.261 smarty/libs/Smarty_Compiler.class.php:1.262
--- smarty/libs/Smarty_Compiler.class.php:1.261	Thu Jul  3 05:31:21 2003
+++ smarty/libs/Smarty_Compiler.class.php	Thu Jul  3 10:12:01 2003
@@ -39,7 +39,7 @@
  * @package Smarty
  */
 
-/* $Id: Smarty_Compiler.class.php,v 1.261 2003/07/03 09:31:21 messju Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.262 2003/07/03 14:12:01 messju Exp $ */
 
 /**
  * Template compiling class
@@ -635,7 +635,7 @@
                 $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);
             }
         }
 



-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.