Fix mail tree does not get refreshed after folder creation

This commit is contained in:
Hadi Nategh 2017-03-07 12:29:45 +01:00
parent db13e47fbd
commit 104acdde5f

View File

@ -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'])