Fix error notification.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Feb 2010 17:41:23 +0000 (10:41 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Feb 2010 17:41:23 +0000 (10:41 -0700)
imp/lib/Ajax/Application.php

index 600582c..a3e29e7 100644 (file)
@@ -1749,7 +1749,7 @@ class IMP_Ajax_Application extends Horde_Ajax_Application_Base
             try {
                 $GLOBALS['imp_imap']->ob()->openMailbox($vars->view, $rw ? Horde_Imap_Client::OPEN_READWRITE : Horde_Imap_Client::OPEN_AUTO);
             } catch (Horde_Imap_Client_Exception $e) {
-                $GLOBALS['notification']->push($e, 'horde.error');
+                $GLOBALS['notification']->push($e->getMessage(), 'horde.error');
                 return null;
             }
         }