[TYPO3-core] RFC: Bugfix 4955: getQueryArguments

Bernhard Kraft kraftb at kraftb.at
Mon Oct 1 16:05:10 CEST 2007


Hi !


This is a SVN patch request.


Branch: Trunk only


References:
http://bugs.typo3.org/view.php?id=4955


Description:
The "$forceArgs" parameter doesn't get used if no "exclude" parameters 
are set. This is the case when generating a language menu (search for 
the usage of getQueryArguments in tslib_menu). The language paramter 
doesn't get added.


Solution:
Only return directly when neither 'exclude' nor $forceArgs are set.
Move the overruling block dependen on $forceArgs outside of the 
'exclude' block.

See attached diff or bug-post.


greets,
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_4955_getQueryArguments.diff
Type: text/x-patch
Size: 1197 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071001/58e650fc/attachment.bin 


More information about the TYPO3-team-core mailing list