diff options
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/packages.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/html/packages.php b/web/html/packages.php index 4e52fa0c..5b2d5ef4 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"]); |