Cast to string.
authorJan Schneider <jan@horde.org>
Mon, 7 Dec 2009 16:19:29 +0000 (17:19 +0100)
committerJan Schneider <jan@horde.org>
Mon, 7 Dec 2009 22:14:44 +0000 (23:14 +0100)
framework/Notification/lib/Horde/Notification/Listener/Status.php

index 301e671..9e6e6f2 100644 (file)
@@ -102,7 +102,7 @@ class Horde_Notification_Listener_Status extends Horde_Notification_Listener
                 if (!empty($result['alarm']['params']['notify']['ajax'])) {
                     $result['alarm']['ajax'] = $result['alarm']['params']['notify']['ajax'];
                 } elseif (!empty($result['alarm']['params']['notify']['show'])) {
-                    $result['alarm']['url'] = Horde::url($GLOBALS['registry']->linkByPackage($result['alarm']['params']['notify']['show']['__app'], 'show', $result['alarm']['params']['notify']['show']), true);
+                    $result['alarm']['url'] = (string)Horde::url($GLOBALS['registry']->linkByPackage($result['alarm']['params']['notify']['show']['__app'], 'show', $result['alarm']['params']['notify']['show']), true);
                 }
                 unset($result['alarm']['params']['notify'],
                       $result['alarm']['methods']);