Bug #22525 » patch_GPmerged_20100427_1.diff
typo3_src-4.3.3/t3lib/class.t3lib_div.php 2010-04-27 16:01:36.000000000 +0200 | ||
---|---|---|
* @return array Returns the GET vars merged recursively onto the POST vars.
|
||
*/
|
||
public static function _GPmerged($parameter) {
|
||
$postParameter = is_array($_POST[$parameter]) ? $_POST[$parameter] : array();
|
||
$getParameter = is_array($_GET[$parameter]) ? $_GET[$parameter] : array();
|
||
$postParameter = (isset($_POST[$parameter]) and is_array($_POST[$parameter])) ? $_POST[$parameter] : array();
|
||
$getParameter = (isset($_POST[$parameter]) and is_array($_GET[$parameter])) ? $_GET[$parameter] : array();
|
||
$mergedParameters = self::array_merge_recursive_overrule($getParameter, $postParameter);
|
||
self::stripSlashesOnArray($mergedParameters);
|