Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/pkginfo.php7
1 files changed, 3 insertions, 4 deletions
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(