From: Michael M Slusarz Date: Fri, 15 May 2009 20:09:12 +0000 (-0600) Subject: Fix undefined error X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d576e52c6c9d3772ab2f6e385c31a2e32da213a2;p=horde.git Fix undefined error --- diff --git a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php index 15af36e19..45bb3a68e 100644 --- a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php +++ b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php @@ -816,7 +816,8 @@ class Horde_Imap_Client_Socket extends Horde_Imap_Client_Base } catch (Horde_Imap_Client_Exception $e) { // An EXAMINE/SELECT failure with a return of 'NO' will cause the // current mailbox to be unselected. - if ($this->_temp['parseresperr']['response'] == 'NO') { + if (isset($this->_temp['parseresperr']['response']) && + ($this->_temp['parseresperr']['response'] == 'NO')) { $this->_selected = null; $this->_mode = 0; }