Skip to content

Commit

Permalink
Fix variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 1, 2016
1 parent 1212b1f commit c1836e9
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 @@ -502,8 +502,8 @@ public function getCollectionClass($id)
}

// First try existing, loaded collections.
if (!empty($this->_collections[$collection['id']])) {
return $this->_collections[$collection['id']]['class'];
if (!empty($this->_collections[$id])) {
return $this->_collections[$id]['class'];
}

// Next look in the SyncCache.
Expand Down

0 comments on commit c1836e9

Please sign in to comment.