Fix Bug #7771 - undefined error.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Dec 2008 16:57:26 +0000 (09:57 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Dec 2008 17:00:29 +0000 (10:00 -0700)
framework/Imap_Client/lib/Horde/Imap/Client/Socket.php

index d3ddff0..4a7495f 100644 (file)
@@ -3267,7 +3267,7 @@ class Horde_Imap_Client_Socket extends Horde_Imap_Client_Base
     {
         if (!empty($ob['response'])) {
             $this->_parseStatusResponse($ob);
-        } else {
+        } elseif ($ob['token']) {
             // First, catch all untagged responses where the name appears
             // first on the line.
             switch (strtoupper($ob['token'][0])) {