*** empty log message ***

This commit is contained in:
andrey
2002-03-20 16:15:01 +00:00
parent b5e184d2f2
commit 4b0e85ea94
2 changed files with 2 additions and 2 deletions

View File

@@ -987,7 +987,7 @@ class Smarty_Compiler extends Smarty {
'$', '#', or '%') and not enclosed in single or
double quotes we single-quote it. */
else if ($quote && !in_array($token{0}, $var_delims) &&
!(($token{0} == '"' || $token[0] == "'") &&
!(($token{0} == '"' || $token{0} == "'") &&
$token{strlen($token)-1} == $token{0}))
$token = '"'.$token.'"';

View File

@@ -987,7 +987,7 @@ class Smarty_Compiler extends Smarty {
'$', '#', or '%') and not enclosed in single or
double quotes we single-quote it. */
else if ($quote && !in_array($token{0}, $var_delims) &&
!(($token{0} == '"' || $token[0] == "'") &&
!(($token{0} == '"' || $token{0} == "'") &&
$token{strlen($token)-1} == $token{0}))
$token = '"'.$token.'"';