index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-12-10 15:47:39 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-12-10 15:47:39 +0100 |
commit | 35f48262f96dc618b939f69cc2482dfd55fc0605 (patch) | |
tree | 52c92b79bee1a69548034333b31d17e764204ab3 /packages | |
parent | 654f9a542d64fdc9a5efb3c8ac08cc7553aa69ae (diff) |
-rw-r--r-- | packages/pkginfo.php | 2 |
diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 8265bc7..f366624 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -38,7 +38,7 @@ require_once BASE . "/lib/style.php"; true ); - if (!array_key_exists('Name', $json_content)) { + if (!isset($json_content) || !array_key_exists('Name', $json_content)) { //throw_http_error(404, "Package Not Found In Sync Database"); unset($json_content); $skip_json_checks = true; |