[TYPO3-english] t3blog - searchBox finds same post xtimes
Dmitry Dulepov
dmitry.dulepov at gmail.com
Tue Feb 22 08:30:05 CET 2011
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###.
--
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/
More information about the TYPO3-english
mailing list