HOR-1469-A "ABE Force Login - Si el usuario ingresa..." SOLVED

This commit is contained in:
Luis Fernando Saisa Lopez
2016-07-28 18:27:20 -04:00
parent bed4947f67
commit e0445f6c4e

View File

@@ -156,6 +156,12 @@ try {
G::SendTemporalMessage($errLabel, "warning");
}
$u = (array_key_exists('form', $_POST) && array_key_exists('URL', $_POST['form']))? 'u=' . urlencode($_POST['form']['URL']) : '';
if ($u != '') {
$urlLogin = $urlLogin . ((preg_match('/^.+\?.+$/', $urlLogin))? '&' : '?') . $u;
}
G::header('Location: ' . $urlLogin);
exit(0);
}