Project

General

Profile

Actions

Feature #37662

closed

Support for arrays in t3lib_div::_GP()

Added by Rastislav Birka over 12 years ago. Updated almost 10 years ago.

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

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

example situation:
$_GET => array(
'test' => array(
'0' => 'X'
'1' => 'Y'
'2' => 'Z'
)
)
$_POST => array(
'test' => array(
'1' => 'A'
)
)

in this case t3lib_div::_GP('test') return:
array(
'1' => 'A'
)

correct result should be:
array(
'0' => 'X'
'1' => 'A'
'2' => 'Z'
)


Files

t3lib_div_GP.diff (615 Bytes) t3lib_div_GP.diff Rastislav Birka, 2012-06-01 06:58
Actions

Also available in: Atom PDF