Merge branch 'ent-9827-bug-external-link-vacio-pantalla-de-inicio-de-usuario' into 'develop'

Ent 9827 bug external link vacio pantalla de inicio de usuario

See merge request artica/pandorafms!5356
This commit is contained in:
Rafael Ameijeiras 2022-12-28 09:40:33 +00:00
commit 46c59c3880
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;
}