diff options
author | Erich Eckner <git@eckner.net> | 2018-11-22 23:28:31 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-11-22 23:28:31 +0100 |
commit | e008715a82983a105d6fd689452898245687cf47 (patch) | |
tree | d5db7d7ff8302ae3828d44262ac54bb4714cbf48 | |
parent | 5306d1e14955520630f183210e9b209800c188cd (diff) | |
download | archweb32-e008715a82983a105d6fd689452898245687cf47.tar.xz |
packages/pkginfo.php: ignore json info if unavailable, too
-rw-r--r-- | packages/pkginfo.php | 4 |
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"]; |