[TYPO3-core] RFC: small fix for variable name

Dmitry Dulepov 9f4eetb02 at sneakemail.com
Tue Apr 17 19:57:39 CEST 2007


This is SVN patch request.

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.

Note: this relates to workspace code and also very trivial. So I will 
commit this as a part of workspace fixes according to agreement with 
Kasper/Michael if no one objects (there shouldn't be any objections anyway).

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.)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: swap_id_var.txt
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070417/7cd16479/attachment.txt 

More information about the TYPO3-team-core mailing list