Issue Bug Closed

#56306quoteFieldNames() results an empty string

Andreas Fernandez 02/26/14, 12:31 updated 10/02/18, 12:02

Description

DBAL’s DatabaseConnection.php uses the method quoteFieldNames() which returns an empty string in all cases. But, the method INSERTquery() uses the result of quoteFieldNames() to set keys of an array.

The problem here is, that DBAL’s SqlParser.php tries to access $GLOBALS[‘TYPO3_DB’] which is not set.

Reviews 1