[TYPO3-core] RFC: small fix for variable name
Dmitry Dulepov
9f4eetb02 at sneakemail.com
Fri Apr 20 18:47:47 CEST 2007
Dmitry Dulepov wrote:
> Problem: foreach loop in TCEmain uses the same variable name as
> function's parameter thus overriding it. In this case post-processing
> hook may get wrong value. This happens only in rare cases because
> special configuration is required for this branch of code to execute.
>
> Solution: trivial, change variable name in foreach.
Committed to trunk together with another small change (fixed workspace
publishing error that may happen when "Element" versioning type is
used), which is also trivial (check if variable is set).
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-team-core
mailing list