Fix spool browsing in banana
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 27 Jan 2007 10:50:30 +0000 (10:50 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 27 Jan 2007 10:50:30 +0000 (10:50 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1409 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/banana.php
modules/lists.php

index ea857c5..ad9e406 100644 (file)
@@ -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') {
index 38cc4cb..94ede7a 100644 (file)
@@ -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') {