Merged in luisfernandosl/processmaker/HOR-1469-A-31 (pull request #4641)
HOR-1469-A
This commit is contained in:
@@ -156,6 +156,12 @@ try {
|
|||||||
G::SendTemporalMessage($errLabel, "warning");
|
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);
|
G::header('Location: ' . $urlLogin);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user