Feature #37662 ยป t3lib_div_GP.diff
t3lib/class.t3lib_div.php | ||
---|---|---|
if (empty($var)) {
|
||
return;
|
||
}
|
||
$value = isset($_POST[$var]) ? $_POST[$var] : $_GET[$var];
|
||
if (is_array($_POST[$var]) && is_array($_GET[$var])) {
|
||
$value = self::array_merge_recursive_overrule($_GET[$var], $_POST[$var]);
|
||
} else {
|
||
$value = isset($_POST[$var]) ? $_POST[$var] : $_GET[$var];
|
||
}
|
||
if (isset($value)) {
|
||
if (is_array($value)) {
|
||
self::stripSlashesOnArray($value);
|