[BUGFIX] Wrong variable name used 88/19388/2
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 27 Mar 2013 12:45:19 +0000 (13:45 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 27 Mar 2013 12:49:53 +0000 (13:49 +0100)
The parameter is called $lgd but is used as $length.

Change-Id: Id5303562d4e3f9bd9222db585da6a5365588a031
Fixes: #46718
Releases: 6.1,6.0
Reviewed-on: https://review.typo3.org/19388
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/indexed_search/Classes/Controller/SearchController.php

index c24b182..e889d2f 100644 (file)
@@ -577,7 +577,7 @@ class SearchController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControlle
         * @return string HTML string
         * @todo overwork this
         */
-       protected function makeDescription($row, $noMarkup = FALSE, $lgd = 180) {
+       protected function makeDescription($row, $noMarkup = FALSE, $length = 180) {
                if ($row['show_resume']) {
                        if (!$noMarkup) {
                                $markedSW = '';