Skip to content

Commit

Permalink
Fixes bug where wrong arguments were being passed to Horde_Imap_Clien…
Browse files Browse the repository at this point in the history
…t_Exception_ServerResponse::__construct() (Github issue #3)

#3

git-svn-id: http://gsoc.svn.wordpress.org/2013/codebykat/post-by-email/trunk@2336 f69abe3c-2ee2-4550-9a6d-17bd458115be
  • Loading branch information
codebykat committed Sep 21, 2013
1 parent 9330187 commit 865a5c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/Horde/Imap/Client/Socket/Pop3.php
Original file line number Diff line number Diff line change
Expand Up @@ -1171,12 +1171,12 @@ protected function _getLine()
$errtext = '[No error message provided by server]';
}

throw new Horde_Imap_Client_Exception_ServerResponse(
$e = new Horde_Imap_Client_Exception(
Horde_Imap_Client_Translation::t("POP3 error reported by server."),
$errcode,
'-ERR',
$errtext
$errcode
);
$e->details = $errtext;
throw $e;

case '.':
$ob['response'] = 'END';
Expand Down

0 comments on commit 865a5c3

Please sign in to comment.