Notification will extract the message for us
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 2 Jun 2010 19:53:28 +0000 (13:53 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 2 Jun 2010 19:54:08 +0000 (13:54 -0600)
turba/lib/Turba.php

index 7608361..1219c90 100644 (file)
@@ -373,7 +373,7 @@ class Turba {
             $shares = Turba::listShares();
         } catch (Horde_Share_Exception $e) {
             // Notify the user if we failed, but still return the $cfgSource array.
-            $notification->push($e->getMessage(), 'horde.error');
+            $notification->push($e, 'horde.error');
             return $sources;
         }