diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 736055f140..88b296781b 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -3816,7 +3816,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2); "click on the account first, then try again.", $new); } $response = Api\Json\Response::get(); - if ($created===true && $error !='') + if ($created===true && $error =='') { $this->mail_bo->resetFolderObjectCache($profileID); if ( $folderStatus['shortDisplayName'])