index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-11-23 08:11:39 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-11-23 08:11:39 +0100 |
commit | 06e4f4ba9f0c0c575655478ed783265e7f2dddd0 (patch) | |
tree | 382e7b0832663f95eb18e072515bd5233fc21006 /packages | |
parent | 1d9456946e9025f0faeb97457dfc41ba24eddd10 (diff) |
-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( |