--- web/lib/pkgfuncs.inc | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index ff7572f..1e92a90 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -655,7 +655,8 @@ function pkg_search_page($SID="") { # The search form # - print "<form action='/packages.php' method='get'>\n"; + print "<form action='/packages.php' method='post'>\n"; + #print "<form action='/packages.php' method='get'>\n"; print "<input type='hidden' name='O' value='".$O."'>\n"; print "<center>\n"; @@ -766,10 +767,8 @@ function pkg_search_page($SID="") { print "</tr>\n"; print "</table>\n"; print "</center>\n"; - print "</form>"; print "<br />\n"; - print "<form action='/packages.php' method='post'>\n"; # query to pull out package info # # $q = "SELECT Packages.*, IF(ISNULL(PackageID), 0, COUNT(*)) AS Votes "; @@ -1051,8 +1050,6 @@ function pkg_search_page($SID="") { print "</tr>\n"; print "</table>\n"; # print "<input type='hidden' name='All_IDs' value='".$all_ids."'>\n"; - print "<input type='hidden' name='O' value='".$O."'>\n"; - print "<input type='hidden' name='PP' value='".$PP."'>\n"; if ($_REQUEST["do_MyPackages"]) { print "<input type='hidden' name='do_MyPackages' value='1'>\n"; } -- 1.5.3.7