Project

General

Profile

Feature #22053 » 13418.diff

Administrator Admin, 2010-02-03 19:12

View differences:

t3lib/class.t3lib_div.php (working copy)
} else {
$inputGet = addslashes($inputGet);
}
$GLOBALS['HTTP_GET_VARS'][$key] = $_GET[$key] = $inputGet;
if (strpos($key, '|')) {
$pieces = explode('|', $key);
$tmpArr = array();
$tmpRef =& $tmpArr;
foreach ($pieces AS $piece) {
$tmpRef =& $tmpRef[$piece];
}
$tmpRef = $inputGet;
$GLOBALS['HTTP_GET_VARS'][$key] = $_GET = t3lib_div::array_merge_recursive_overrule($_GET, $tmpArr);
} else {
$GLOBALS['HTTP_GET_VARS'][$key] = $_GET[$key] = $inputGet;
}
} elseif (is_array($inputGet)) {
t3lib_div::addSlashesOnArray($inputGet);
$GLOBALS['HTTP_GET_VARS'] = $_GET = $inputGet;
(1-1/4)