cvs: smarty /libs Smarty.class.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1060169589@cvsserver> |
messju Wed Aug 6 07:33:09 2003 EDT
Modified files:
/smarty/libs Smarty.class.php
Log:
fixed bug in _run_mod_handler
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.429 smarty/libs/Smarty.class.php:1.430
--- smarty/libs/Smarty.class.php:1.429 Tue Aug 5 18:48:05 2003
+++ smarty/libs/Smarty.class.php Wed Aug 6 07:33:09 2003
@@ -42,7 +42,7 @@
* @version 2.5.0-cvs
*/
-/* $Id: Smarty.class.php,v 1.429 2003/08/05 22:48:05 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.430 2003/08/06 11:33:09 messju Exp $ */
/**
* DIR_SEP isn't used anymore, but third party apps might
@@ -1752,6 +1752,7 @@
list($_func_name, $_tpl_file, $_tpl_line) =
$this->_plugins['modifier'][$_modifier_name];
+ $_var = $_args[0];
foreach ($_var as $_key => $_val) {
$_args[0] = $_val;
$_var[$_key] = call_user_func_array($_func_name, $_args);
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php