From f27bf43a189330624b0ec904139e7641ceebbabb Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 2 Nov 2007 17:56:33 +0100 Subject: [PATCH] Fix link to banana message on x.net. Signed-off-by: Florent Bruneau --- include/banana/hooks.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/banana/hooks.inc.php b/include/banana/hooks.inc.php index 4810703..ed0b1b8 100644 --- a/include/banana/hooks.inc.php +++ b/include/banana/hooks.inc.php @@ -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; -- 2.1.4