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 14:59:13 +00:00
parent a7017a0b55
commit e68d5c19c6

View File

@ -4070,7 +4070,7 @@ class mail_ui
$heirarchyDelimeter = $this->mail_bo->getHierarchyDelimiter(true);
$fShortName = array_pop(explode($heirarchyDelimeter, $trashFolder));
$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
//-as we don't have trash folder specific information available on client-side we need to deal with it on server