Bug #18312
closed
Constants are not correctly substituted on some PHP5 distributions
Added by Oliver Hader about 16 years ago.
Updated about 15 years ago.
Description
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.
(issue imported from #M7677)
Files
The attached patch is for TYPO3 4.1.x only.
The bug description is not correct. These codelines are not necessary for substituting the constants. They are only for a check if some constants found inside setup have not been substituted. These will be shown only if if ($this->tt_track) is set.
So IMHO this if should be moved some lines above before the whole block you have changed.
You will see that all variables changed in this blocked are not used outside.
IMHO this can go into 4.1 because it cannot do any harm if it does not change other variable contents. This is only used and needed for debugging.
set version to 4.2.2 as maybe this one goes in the next bugfix version.
Committed to SVN
- TYPO3_4-1 (rev. 4742)
- TYPO3_4-2 (rev. 4743)
Also available in: Atom
PDF