BUG 000 Backwards compatibility with the URL parameter in the POST
This commit is contained in:
@@ -258,7 +258,13 @@ try {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
G::header('Location: ' . $oUserProperty->redirectTo($_SESSION['USER_LOGGED'], $lang));
|
if (isset($_POST['form']['URL']) && $_POST['form']['URL'] != '') {
|
||||||
|
$sLocation = $_POST['form']['URL'];
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$sLocation = $oUserProperty->redirectTo($_SESSION['USER_LOGGED'], $lang);
|
||||||
|
}
|
||||||
|
G::header('Location: ' . $sLocation);
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user