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 dd3cf977e7
commit 0fdc96d875

View File

@ -933,7 +933,7 @@ class mail_ui
$refresh = true; $refresh = true;
break; break;
case 'ham': 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( $msg[] = $this->ajax_copyMessages($ham, array(
'all' => false, 'all' => false,