#9827 no redirection on login when url empty on config user

This commit is contained in:
Jonathan 2022-12-23 12:07:27 +01:00
parent 05687a9ef2
commit 1536b8dbf8
1 changed files with 5 additions and 1 deletions

View File

@ -1393,7 +1393,11 @@ if ($searchPage) {
case 'External link':
$home_url = io_safe_output($home_url);
echo '<script type="text/javascript">document.location="'.$home_url.'"</script>';
if (strlen($home_url) !== 0) {
echo '<script type="text/javascript">document.location="'.$home_url.'"</script>';
} else {
$_GET['sec2'] = 'general/logon_ok';
}
break;
}