[BUGFIX] Fix typo in file search query 21/49721/2
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Thu, 1 Sep 2016 13:36:22 +0000 (15:36 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 1 Sep 2016 13:38:25 +0000 (15:38 +0200)
Remove superflous quote (").

Resolves: #77751
Releases: master
Change-Id: Ida96f659f049b798a5d07c7aae9b8d9476ea5026
Reviewed-on: https://review.typo3.org/49721
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php

index 4aa4f61..05d1fc2 100644 (file)
@@ -264,7 +264,7 @@ class FileIndexRepository implements SingletonInterface
             $queryBuilder->andWhere(
                 $queryBuilder->expr()->like(
                     'name',
-                    $queryBuilder->createNamedParameter('%' . $queryBuilder->escapeLikeWildcards($fileName) . '%"')
+                    $queryBuilder->createNamedParameter('%' . $queryBuilder->escapeLikeWildcards($fileName) . '%')
                 )
             );
         }