summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-02-20 20:59:07 -0500
committerLoui Chang <louipc.ist@gmail.com>2009-02-20 20:59:07 -0500
commit402c6d0933127d5337b33f4a3fdb45615c6300d6 (patch)
tree01bb5fe8076a8215cc7cf66c984d7be8a95f2a5d /web/html
parenta669db5c7a4fc93859c6465b234dbf12f178390d (diff)
downloadaurweb-402c6d0933127d5337b33f4a3fdb45615c6300d6.tar.xz
Fix the comment poop bug.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/html')
-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"]);