* Added Karsten D.s patches for DBAL.
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_querygenerator.php
index 0060629..de5e98d 100755 (executable)
@@ -127,14 +127,14 @@ class t3lib_queryGenerator        {
                "0" => "#FIELD# LIKE '%#VALUE#%'",
                "1" => "#FIELD# NOT LIKE '%#VALUE#%'",
                "2" => "#FIELD# LIKE '#VALUE#%'",
-               "3" => "#FIELD# NOT LIKE '#VALUE#%'",
+               "3" => "#FIELD# NOT LIKE #VALUE#%",
                "4" => "#FIELD# LIKE '%#VALUE#'",
                "5" => "#FIELD# NOT LIKE '%#VALUE#'",
-               "6" => "#FIELD# = '#VALUE#'",
-               "7" => "#FIELD# != '#VALUE#'",
+               "6" => "#FIELD# = #VALUE#",
+               "7" => "#FIELD# != #VALUE#",
                        // Type = date,number , offset = 32
-               "32" => "#FIELD# = '#VALUE#'",
-               "33" => "#FIELD# != '#VALUE#'",
+               "32" => "#FIELD# = #VALUE#",
+               "33" => "#FIELD# != #VALUE#",
                "34" => "#FIELD# > #VALUE#",
                "35" => "#FIELD# < #VALUE#",
                "36" => "#FIELD# >= #VALUE# AND #FIELD# <= #VALUE1#",