Skip to content

Commit

Permalink
Fix member name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Apr 22, 2016
1 parent d577a38 commit 5ea8244
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/Auth/lib/Horde/Auth/Imap.php
Expand Up @@ -184,7 +184,7 @@ protected function _getOb($user, $pass)
{
$sig = hash('md5', serialize(array($user, $pass)));

if (!isset($this->_ob[$sig])) {
if (!isset($this->_imap[$sig])) {
$imap_config = array(
'hostspec' => empty($this->_params['hostspec']) ? null : $this->_params['hostspec'],
'password' => $pass,
Expand All @@ -194,13 +194,13 @@ protected function _getOb($user, $pass)
);

try {
$this->_ob[$sig] = new Horde_Imap_Client_Socket($imap_config);
$this->_imap[$sig] = new Horde_Imap_Client_Socket($imap_config);
} catch (InvalidArgumentException $e) {
throw new Horde_Auth_Exception($e);
}
}

return $this->_ob[$sig];
return $this->_imap[$sig];
}

}

0 comments on commit 5ea8244

Please sign in to comment.