[BUGFIX] DBAL does not respect sql_query.passthrough setting
[Packages/TYPO3.CMS.git] / typo3 / sysext / dbal / class.ux_t3lib_db.php
index 9f0c184..7728c96 100644 (file)
@@ -2519,7 +2519,7 @@ class ux_t3lib_DB extends t3lib_DB {
         */
        public function sql_query($query) {
                $globalConfig = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['dbal']);
-               if ($globalConfig['sql_query.passthrough']) {
+               if ($globalConfig['sql_query.']['passthrough']) {
                        return parent::sql_query($query);
                }