Skip to content

Commit

Permalink
Fix array_key_exists() usage
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 27, 2014
1 parent 7d0f392 commit 2266a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/lib/Mailbox/SessionCache.php
Expand Up @@ -81,7 +81,7 @@ public function __get($name)
*/
public function getAcl($mbox)
{
if (!array_key_exists($this->_cache[$mbox][self::CACHE_ACL])) {
if (!array_key_exists(self::CACHE_ACL, $this->_cache[$mbox])) {
return false;
}

Expand Down

0 comments on commit 2266a6e

Please sign in to comment.