Fix trash folder label get set by not translated trash folder name after trying to empty the trash

This commit is contained in:
Hadi Nategh 2014-10-06 15:15:55 +00:00
parent dab3d0fb8d
commit 14583e5b4a

View File

@ -4070,7 +4070,7 @@ class mail_ui
$heirarchyDelimeter = $this->mail_bo->getHierarchyDelimiter(true); $heirarchyDelimeter = $this->mail_bo->getHierarchyDelimiter(true);
$fShortName = array_pop(explode($heirarchyDelimeter, $trashFolder)); $fShortName = array_pop(explode($heirarchyDelimeter, $trashFolder));
$fStatus = array( $fStatus = array(
$icServerID.self::$delimiter.$trashFolder => $fShortName $icServerID.self::$delimiter.$trashFolder => lang($fShortName)
); );
//Call to reset folder status counter, after emptyTrash triggered not from Trash folder //Call to reset folder status counter, after emptyTrash triggered not from Trash folder
//-as we don't have trash folder specific information available on client-side we need to deal with it on server //-as we don't have trash folder specific information available on client-side we need to deal with it on server