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