Revert "[BUGFIX] Database API: Cast bool values to integer for MySQL"
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Database / DatabaseConnection.php
index a5d7493..d16a929 100644 (file)
@@ -816,9 +816,6 @@ class DatabaseConnection {
                if ($allowNull && $str === NULL) {
                        return 'NULL';
                }
-               if (is_bool($str)) {
-                       $str = (int)$str;
-               }
 
                return '\'' . $this->link->real_escape_string($str) . '\'';
        }