index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-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; |