summaryrefslogtreecommitdiff
path: root/web/html/packages.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/packages.php')
-rw-r--r--web/html/packages.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/html/packages.php b/web/html/packages.php
index 4e52fa0..5b2d5ef 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -62,12 +62,12 @@ if ($output):
<?php
endif;
-if (isset($_GET["ID"])) {
+if (isset($_GET['ID'])) {
include('pkg_search_form.php');
- if (!intval($_GET["ID"])) {
+ if (!$_GET['ID'] = intval($_GET['ID'])) {
print __("Error trying to retrieve package details.")."<br />\n";
} else {
- package_details($_GET["ID"], $_COOKIE["AURSID"]);
+ package_details($_GET['ID'], $_COOKIE["AURSID"]);
}
} else {
pkg_search_page($_COOKIE["AURSID"]);