From: x2003bruneau Date: Sun, 9 Jul 2006 16:11:28 +0000 (+0000) Subject: Fix full unsubscription X-Git-Tag: 1.8~226 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=a80c6fdaead61544a1838785ae11ec73b3cc2d9e;p=banana.git Fix full unsubscription git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@69 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- diff --git a/Changelog b/Changelog index 3c5ac82..1bdb958 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,7 @@ Sun, 09 Jul 2006 Florent Bruneau * Can use a user-defined Array instead of $_GET + * Bugfix: can remove all subscriptions Sat, 08 Jul 2006 Florent Bruneau diff --git a/banana/banana.inc.php.in b/banana/banana.inc.php.in index cfc5be9..9bca105 100644 --- a/banana/banana.inc.php.in +++ b/banana/banana.inc.php.in @@ -124,7 +124,7 @@ class Banana if (is_null($group)) { if (isset($banana->get['subscribe'])) { return $banana->action_listSubs(); - } elseif (isset($_POST['subscribe'])) { + } elseif (isset($_POST['validsubs'])) { $banana->action_saveSubs(); } return $banana->action_listGroups(); diff --git a/banana/groups.inc.php b/banana/groups.inc.php index dc2f750..36a0e3b 100644 --- a/banana/groups.inc.php +++ b/banana/groups.inc.php @@ -126,8 +126,8 @@ class BananaGroups { if ($show_form) { return '
' - . '
' - . $html . '
'; + . '
' + . $html . '
'; } return $html;