#9827 no redirection on login when url empty on config user
This commit is contained in:
parent
05687a9ef2
commit
1536b8dbf8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue