[BUGFIX] Remove bad PHP code in LiveSearch
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Controller / LiveSearchController.php
index 39ac932..1fe5f11 100644 (file)
@@ -47,7 +47,6 @@ class LiveSearchController
         $liveSearch->setQueryString($queryString);
         // Jump & edit - find page and retrieve an edit link (this is only for pages
         if ($queryParser->isValidPageJump($queryString)) {
-            $searchResults[] = array_merge($liveSearch->findPage($queryString), ['type' => 'pageJump']);
             $commandQuery = $queryParser->getCommandForPageJump($queryString);
             if ($commandQuery) {
                 $queryString = $commandQuery;