Skip to content

Commit

Permalink
Ensure we return an array, not an object.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 1, 2014
1 parent 73d08b4 commit 00fdffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Core/lib/Horde/Core/ActiveSync/Connector.php
Expand Up @@ -336,7 +336,7 @@ public function getRecipientCache($max = 100)
$results = $this->_registry->mail->favouriteRecipients($max);
$cache->set($cache_key, json_encode($results));
} else {
$results = json_decode($cache->get($cache_key, 3600));
$results = json_decode($cache->get($cache_key, 3600), true);
}

return $results;
Expand Down

0 comments on commit 00fdffe

Please sign in to comment.