Fix link to banana message on x.net.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 2 Nov 2007 16:56:33 +0000 (17:56 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 2 Nov 2007 16:56:33 +0000 (17:56 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
include/banana/hooks.inc.php

index 4810703..ed0b1b8 100644 (file)
@@ -230,6 +230,9 @@ function get_banana_params(array &$get, $group = null, $action = null, $artid =
         $action = 'read';
         $group  = S::v('banana_group');
         $artid  = S::i('banana_artid');
+    } else if ($action == 'message') {
+        $action = 'read';
+        $artid  = S::i('banana_artid');
     } else if ($group == 'subscribe' || $group == 'subscription') {
         $group  = null;
         $action = null;