Issue Bug Closed

#19182Wrong getData behaviour in "foo|bar" case

Petro Boychuk 08/01/08, 19:38 updated 06/01/10, 15:20

Description

What about problem?
We have “foo” data in both(!) GET and POST arrays. But “foo[bar]” data we have only in GET array. We want to get “foo[bar]” element. We can’t do that.

Why?
Responsible for that function (now t3lib_div::_GP) looks for “foo” key first in POST array and if founded immediatly returns it. So if we have “foo[bar]” in GET, we have void result.

File: class.tslib_content.php
Line: 4848

Advise for quick solution: replace t3lib_div::_GP with t3lib_div::GParrayMerged

(issue imported from #M9100)

Reviews 0

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