Skip to content

Commit

Permalink
This method is always passed a folderid, not a folder type.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 22, 2014
1 parent b13cc41 commit b130776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/ActiveSync/lib/Horde/ActiveSync/Collections.php
Expand Up @@ -328,8 +328,8 @@ public function getBackendIdForFolderUid($folderid)
public function getFolderUidForBackendId($folderid)
{
// Always use 'RI' for Recipient cache.
if ($type == Horde_ActiveSync::FOLDER_TYPE_RECIPIENT_CACHE) {
return 'RI';
if ($folderid == 'RI') {
return $folderid;
}
$map = $this->_as->state->getFolderUidToBackendIdMap();
if (empty($map[$folderid])) {
Expand Down

0 comments on commit b130776

Please sign in to comment.