Fix the comment poop bug.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Loui Chang 2009-02-20 20:59:07 -05:00
parent a669db5c7a
commit 402c6d0933
2 changed files with 10 additions and 7 deletions

View file

@ -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"]);