not set folder in UI is empty, but isset($folder='') === true

This commit is contained in:
Ralf Becker 2017-06-28 12:07:15 +02:00
parent 5a05d35861
commit 3af480be9d

View File

@ -929,7 +929,7 @@ class mail_ui
$refresh = true;
break;
case 'ham':
if (isset($this->mail_bo->icServer->acc_folder_ham) && empty($this->mail_bo->icServer->acc_spam_api))
if ($this->mail_bo->icServer->acc_folder_ham && empty($this->mail_bo->icServer->acc_spam_api))
{
$msg[] = $this->ajax_copyMessages($ham, array(
'all' => false,