From 36737fd38e8081b654494e71577a6ed9fd8d144c Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Sun, 9 Jul 2006 18:33:59 +0000 Subject: [PATCH] Group names are case sensitive git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@70 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- Changelog | 1 + banana/banana.inc.php.in | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Changelog b/Changelog index 1bdb958..ae50c29 100644 --- a/Changelog +++ b/Changelog @@ -2,6 +2,7 @@ Sun, 09 Jul 2006 Florent Bruneau * Can use a user-defined Array instead of $_GET * Bugfix: can remove all subscriptions + * Bugfix: case sensitivity of newsgroup names Sat, 08 Jul 2006 Florent Bruneau diff --git a/banana/banana.inc.php.in b/banana/banana.inc.php.in index 9bca105..f7ed9e3 100644 --- a/banana/banana.inc.php.in +++ b/banana/banana.inc.php.in @@ -116,7 +116,7 @@ class Banana return '

'._b_('Impossible de contacter le serveur').'

'; } - $group = empty($banana->get['group']) ? null : strtolower($banana->get['group']); + $group = empty($banana->get['group']) ? null : $banana->get['group']; $artid = empty($banana->get['artid']) ? null : strtolower($banana->get['artid']); $partid = !isset($banana->get['part']) ? -1 : $banana->get['part']; $banana->state = Array ('group' => $group, 'artid' => $artid); @@ -222,7 +222,7 @@ class Banana function action_showThread($group, $first) { if (!$this->_newSpool($group, $this->profile['display'], $this->profile['lastnews'])) { - return '

'._b_('Impossible charger la liste des messages').'

'; + return '

'._b_('Impossible charger la liste des messages de ') . $group . '

'; } if ($first > count($this->spool->overview)) { @@ -244,7 +244,7 @@ class Banana function action_showArticle($group, $id, $part) { if (!$this->_newSpool($group, $this->profile['display'], $this->profile['lastnews'])) { - return '

'._b_('Impossible charger la liste des messages').'

'; + return '

'._b_('Impossible charger la liste des messages de ') . $group . '

'; } if (!$this->_newPost($id)) { -- 2.1.4