cvs: smarty /libs Smarty_Compiler.class.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1063377585@cvsserver>
messju		Fri Sep 12 10:39:45 2003 EDT

  Modified files:              
    /smarty/libs	Smarty_Compiler.class.php 
  Log:
  fixed quoting of modifier parameters
  
  
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.282 smarty/libs/Smarty_Compiler.class.php:1.283
--- smarty/libs/Smarty_Compiler.class.php:1.282	Fri Sep 12 09:40:53 2003
+++ smarty/libs/Smarty_Compiler.class.php	Fri Sep 12 10:39:45 2003
@@ -39,7 +39,7 @@
  * @package Smarty
  */
 
-/* $Id: Smarty_Compiler.class.php,v 1.282 2003/09/12 13:40:53 messju Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.283 2003/09/12 14:39:45 messju Exp $ */
 
 /**
  * Template compiling class
@@ -1589,7 +1589,7 @@
 		// inform the calling expression the return type (php, static)
 		$this->_output_type = 'php';
 
-		$_math_vars = preg_split('!('.$this->_dvar_math_regexp.'|\".*?\")!', $var_expr, -1, PREG_SPLIT_DELIM_CAPTURE);
+		$_math_vars = preg_split('!('.$this->_dvar_math_regexp.'|'.$this->_qstr_regexp.')!', $var_expr, -1, PREG_SPLIT_DELIM_CAPTURE);
 		if(count($_math_vars) > 1)
 		{
 			$_output = "";

-- 
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.