From: x2003bruneau Date: Sat, 27 Jan 2007 10:50:30 +0000 (+0000) Subject: Fix spool browsing in banana X-Git-Tag: xorg/0.9.13~62 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=82838f55222fbe9f1e183669d67e3ccb5c2ac34d;p=platal.git Fix spool browsing in banana git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1409 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/banana.php b/modules/banana.php index ea857c5..ad9e406 100644 --- a/modules/banana.php +++ b/modules/banana.php @@ -77,6 +77,7 @@ class BananaModule extends PLModule $get['action'] = $action; } elseif ($action == 'from') { $get['first'] = $artid; + unset($get['artid']); } elseif ($action == 'read') { $get['part'] = @$_GET['part']; } elseif ($action == 'source') { diff --git a/modules/lists.php b/modules/lists.php index 38cc4cb..94ede7a 100644 --- a/modules/lists.php +++ b/modules/lists.php @@ -349,6 +349,7 @@ class ListsModule extends PLModule $get['action'] = $action; } elseif ($action == 'from') { $get['first'] = $artid; + unset($get['artid']); } elseif ($action == 'read') { $get['part'] = @$_GET['part']; } elseif ($action == 'source') {