Issue Bug Closed

#16965Language HMENU getQueryArguments dont work

Carlos A 02/09/07, 21:41 updated 09/05/13, 09:23

Description

If property .getQueryArguments is added to language HMENU, the Language Menu will break.

At class.tslib_content.php, line 5524, function getQueryArguments() is written in such a way that $overruleQueryArgs will NOT be used UNLESS “exclude” property is set in its configuration.

Right now, I have to put .exclude = 1, as if boolean, so my menu works as expected.

A working fix may be changing line 5551:

if ($conf[‘exclude’]) {

for:

if ($conf[‘exclude’] || $forceArgs) {
(issue imported from #M4955)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.