Project

General

Profile

Actions

Bug #19182

closed

Wrong getData behaviour in "foo|bar" case

Added by Petro Boychuk almost 16 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-08-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

bug0009100.diff (1.09 KB) bug0009100.diff Administrator Admin, 2008-08-15 12:53
bug0009100_correct.diff (1.12 KB) bug0009100_correct.diff Administrator Admin, 2008-08-15 13:24
bug0009100_correct_updated.diff (1.05 KB) bug0009100_correct_updated.diff Administrator Admin, 2008-08-15 14:00
bug0009100_final.diff (664 Bytes) bug0009100_final.diff Administrator Admin, 2008-08-15 14:36
Actions

Also available in: Atom PDF