[FOLLOWUP][BUGFIX] File list breaks with DBAL 20/39320/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 7 May 2015 08:36:24 +0000 (10:36 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 7 May 2015 08:39:24 +0000 (10:39 +0200)
Releases: master, 6.2
Resolves: #66825
Change-Id: I5c649ddea7d0d5a9b8cffca09844c86d321fa85e
Reviewed-on: http://review.typo3.org/39320
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/filelist/Classes/FileList.php

index 0c718d4..5981376 100644 (file)
@@ -954,7 +954,7 @@ class FileList extends AbstractRecordList {
                        $table,
                        'ref_table=' . $databaseConnection->fullQuoteStr('sys_file', $table)
                                . ' AND ref_uid=' . (int)$fileOrFolderObject->getUid()
-                               . ' AND deleted=0' .
+                               . ' AND deleted=0'
                                . ' AND tablename != ' . $databaseConnection->fullQuoteStr('sys_file_metadata', $table)
                );
                return $this->generateReferenceToolTip($referenceCount, '\'_FILE\', ' . GeneralUtility::quoteJSvalue($fileOrFolderObject->getCombinedIdentifier()));