Skip to content

Commit

Permalink
Bug #12999: fix PHP warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Mar 3, 2014
1 parent 164eb7f commit f513e99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imp/lib/Mailbox/SessionCache.php
Expand Up @@ -81,7 +81,8 @@ public function __get($name)
*/
public function getAcl($mbox)
{
if (!array_key_exists(self::CACHE_ACL, $this->_cache[$mbox])) {
if (!isset($this->_cache[$mbox]) ||
!array_key_exists(self::CACHE_ACL, $this->_cache[$mbox])) {
return false;
}

Expand Down

0 comments on commit f513e99

Please sign in to comment.