[Web] Fix goto check for alias

[Web] Minor change
This commit is contained in:
André
2018-07-29 23:04:54 +02:00
parent 59c4cc054e
commit 241c6f0411
2 changed files with 2 additions and 2 deletions

View File

@@ -484,7 +484,7 @@ function mailbox($_action, $_type, $_data = null, $attr = null) {
);
return false;
}
if (empty($gotos[0]) && $goto_null == 0) {
if (empty($gotos[0]) && ($goto_null + $goto_spam + $goto_ham == 0)) {
$_SESSION['return'] = array(
'type' => 'danger',
'msg' => sprintf($lang['danger']['goto_empty'])