ignore case in IF statements

This commit is contained in:
mohrt
2003-02-06 14:37:49 +00:00
parent 9a13bd125f
commit 8f40f35c56
3 changed files with 3 additions and 2 deletions

1
NEWS
View File

@@ -1,3 +1,4 @@
- ignore case in IF statements (Rainer Collet, Monte)
- treat undefined constants as null (Ferdinand Beyer, Monte)
- fix problem with inserts and nested fetches
(Rainer Collet, Monte)

View File

@@ -1103,7 +1103,7 @@ class Smarty_Compiler extends Smarty {
$token = &$tokens[$i];
switch ($token) {
switch (strtolower($token)) {
case '!':
case '%':
case '!==':

View File

@@ -1103,7 +1103,7 @@ class Smarty_Compiler extends Smarty {
$token = &$tokens[$i];
switch ($token) {
switch (strtolower($token)) {
case '!':
case '%':
case '!==':