Minor cleanup
authorXavier Perseguers <typo3@perseguers.ch>
Thu, 26 Nov 2009 15:40:01 +0000 (15:40 +0000)
committerXavier Perseguers <typo3@perseguers.ch>
Thu, 26 Nov 2009 15:40:01 +0000 (15:40 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/dbal/trunk@27030 735d13b6-9817-0410-8766-e36946ffe9aa

typo3/sysext/dbal/class.ux_t3lib_sqlparser.php

index 8438e37..26d07e0 100644 (file)
@@ -216,7 +216,7 @@ class ux_t3lib_sqlparser extends t3lib_sqlparser {
                                        // Find "comparator":
                                $stack[$level][$pnt[$level]]['comparator'] = $this->nextPart($parseString, '^(<=|>=|<|>|=|!=|NOT[[:space:]]+IN|IN|NOT[[:space:]]+LIKE|LIKE|IS[[:space:]]+NOT|IS)');
                                if (strlen($stack[$level][$pnt[$level]]['comparator'])) {
-                                       if (preg_match('/^CONCAT[[:space:]]*\(/i', $parseString)) {
+                                       if (preg_match('/^CONCAT[[:space:]]*\(/', $parseString)) {
                                                $this->nextPart($parseString, '^(CONCAT[[:space:]]?[(])');
                                                $values = array(
                                                        'operator' => 'CONCAT',
@@ -237,7 +237,7 @@ class ux_t3lib_sqlparser extends t3lib_sqlparser {
                                                        $this->nextPart($parseString, '^(,)');
                                                        $cnt++;
                                                }
-                                                       // Look for ending parenthese:
+                                                       // Look for ending parenthesis:
                                                $this->nextPart($parseString, '([)])');
                                                $stack[$level][$pnt[$level]]['value'] = $values;
                                        } else {