From 994155bbbf0dfb3c88f2d28361c867f8f740711f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 2 Jun 2010 13:53:28 -0600 Subject: [PATCH] Notification will extract the message for us --- turba/lib/Turba.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turba/lib/Turba.php b/turba/lib/Turba.php index 760836118..1219c90ac 100644 --- a/turba/lib/Turba.php +++ b/turba/lib/Turba.php @@ -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; } -- 2.11.0