index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | packages/pkginfo.php | 7 |
diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 84f2569..1dea3ab 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -20,12 +20,11 @@ require_once BASE . "/lib/style.php"; ); if (!isset($json_content["package"])) { + //throw_http_error(404, "Package Not Found In Sync Database"); unset($json_content); $skip_json_checks = true; - } - //throw_http_error(404, "Package Not Found In Sync Database"); - - //$json_content = $json_content["package"]; + } else + $json_content = $json_content["package"]; } $mysql_result = mysql_run_query( |