Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-22 23:28:31 +0100
committerErich Eckner <git@eckner.net>2018-11-22 23:28:31 +0100
commite008715a82983a105d6fd689452898245687cf47 (patch)
treed5db7d7ff8302ae3828d44262ac54bb4714cbf48
parent5306d1e14955520630f183210e9b209800c188cd (diff)
packages/pkginfo.php: ignore json info if unavailable, too
-rw-r--r--packages/pkginfo.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index b662f4e..f877ef6 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -19,8 +19,10 @@ require_once BASE . "/lib/style.php";
true
);
- if (!isset($json_content["package"]))
+ if (!isset($json_content["package"])) {
unset($json_content);
+ $skip_json_checks = true;
+ }
//throw_http_error(404, "Package Not Found In Sync Database");
//$json_content = $json_content["package"];