[TYPO3-core] RFC: Bug #7677: Constants are not correctly substituted on some PHP5 distributions

Benjamin Mack benni at typo3.org
Sat Sep 20 00:40:33 CEST 2008


REMINDER.

Oliver Hader wrote:
> This is a SVN patch request.
> 
> Problem:
> On some PHP5 distributions it happens that constants are not correctly 
> substituted in t3lib_tstemplate. The reason is the the array pointer is 
> not reset to the beginning after an array was created by using the 
> explode() function.
> 
> Solution:
> Change the disposal of while(list()=each()) to foreach() instead.
> 
> Comments:
> Thanks to Franz Holzinger for pointing out this issue.
> This patch is related to RFC #7523 but shall only be applied to TYPO3 
> 4.1.x!
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=7677
> 
> Branch: TYPO3_4-1 only
> 
> 
> olly
> 

-- 
All the best,
benni.
-SDG-


More information about the TYPO3-team-core mailing list