From: Florent Bruneau Date: Fri, 2 Nov 2007 16:56:33 +0000 (+0100) Subject: Fix link to banana message on x.net. X-Git-Tag: xorg/0.9.16~234 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f27bf43a189330624b0ec904139e7641ceebbabb;p=platal.git Fix link to banana message on x.net. Signed-off-by: Florent Bruneau --- 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;