[TYPO3-english] t3blog - searchBox finds same post xtimes

Josef Florian Glatz typo3 at josdesign.at
Tue Feb 22 08:32:50 CET 2011


Am 22.02.2011 08:30, schrieb Dmitry Dulepov:
> Hi!
>
> Josef Florian Glatz wrote:
>> Anyway, after installing trunk:
>>
>> pi1/widgets/blogList/class.singleFunction.php line 1146: remove last
>> comma
>
> Why? Here is the code:
>
> $markerArray = array(
> '###TITLE###' => strip_tags($pObjPiVars['blogList']['commenttitle']),
> '###TEXT###' => strip_tags($pObjPiVars['blogList']['commenttext']),
> '###AUTHOR###' => $this->localPiVars['commentauthor'],
> '###EMAIL###' => $this->localPiVars['commentauthoremail'],
> '###WEBSITE###' => $this->localPiVars['commentauthorwebsite'],
> '###IP###' => t3lib_div::getIndpEnv('REMOTE_ADDR'),
> '###TSFE###' => t3lib_div::getIndpEnv('TYPO3_REQUEST_HOST'),
> '###POSTTITLE###' => is_array($titleRow) ? $titleRow['title'] : '',
> '###LINK###' => $this->getPermalink($this->uid,
> $this->getPostDate($this->uid), true)
> );
>
>
> Line 1146 is with ###POSTTITLE###.
>

http://forge.typo3.org/issues/13126

After downloading trunk there where two commas at the end of line.

-- 
Regards,
Josef Florian Glatz


More information about the TYPO3-english mailing list