[TYPO3-core] Bug in CVS

Karsten Dambekalns karsten at typo3.org
Mon Nov 14 16:04:32 CET 2005


Not my line of code, but I count three parameters (with a little guessing).

On Monday 14 November 2005 15:51, Bernhard Kraft wrote:
> $this->config['stat_vars']['pageName'] = str_replace(
> '[path]', 
> preg_replace('/[^.[:alnum:]\/_-]/','_',$path.'/',
> $pageName)); 

This assumes the $pageName is supposed to be the thrid parameter to 
str_replace, not a fourth to preg_replace. :) So, probably just a 
misplaced ), right? Anyway, should of course be fixed.

Karsten Dambekalns
TYPO3 Association - Active Member

More information about the TYPO3-team-core mailing list