cvs: smarty / NEWS /libs Smarty_Compiler.class.php

From: Date: Tue, 18 Mar 2003 14:47:41 +0000
Subject: cvs: smarty / NEWS /libs Smarty_Compiler.class.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-473@lists.php.net to get a copy of this message
mohrt Tue Mar 18 09:47:41 2003 EDT Modified files: /smarty NEWS /smarty/libs Smarty_Compiler.class.php Log: fix (newly introduced) bug with passing multiple modifiers to a parameter Index: smarty/NEWS diff -u smarty/NEWS:1.316 smarty/NEWS:1.317 --- smarty/NEWS:1.316 Tue Mar 18 04:20:15 2003 +++ smarty/NEWS Tue Mar 18 09:47:40 2003 @@ -1,3 +1,5 @@ + - fixed bug with passing multiple modifiers to a parameter + (Monte) - updated docs for html_checkboxes, html_options and html_radios (messju) - fixed wrong default "name" attribute for html_options (messju) - html_checkboxes now expect the options as attribute "options" instead Index: smarty/libs/Smarty_Compiler.class.php diff -u smarty/libs/Smarty_Compiler.class.php:1.194 smarty/libs/Smarty_Compiler.class.php:1.195 --- smarty/libs/Smarty_Compiler.class.php:1.194 Mon Mar 17 09:56:39 2003 +++ smarty/libs/Smarty_Compiler.class.php Tue Mar 18 09:47:41 2003 @@ -1352,7 +1352,7 @@ $token = 'false'; } else if ($token == 'null') { $token = 'null'; - } else if (!preg_match('!^' . $this->_obj_call_regexp . '|' . $this->_var_regexp . '(?:' . $this->_mod_regexp . ')?$!', $token)) { + } else if (!preg_match('!^' . $this->_obj_call_regexp . '|' . $this->_var_regexp . '(?:' . $this->_mod_regexp . ')*$!', $token)) { /* treat as a string, double-quote it escaping quotes */ $token = '"'.addslashes($token).'"'; }

« previous php.smarty.cvs (#473) next »