mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
#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':
|
case 'External link':
|
||||||
$home_url = io_safe_output($home_url);
|
$home_url = io_safe_output($home_url);
|
||||||
|
if (strlen($home_url) !== 0) {
|
||||||
echo '<script type="text/javascript">document.location="'.$home_url.'"</script>';
|
echo '<script type="text/javascript">document.location="'.$home_url.'"</script>';
|
||||||
|
} else {
|
||||||
|
$_GET['sec2'] = 'general/logon_ok';
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user