Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgapi/pkginfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgapi/pkginfo.php b/pkgapi/pkginfo.php
index d9301ed..083481a 100644
--- a/pkgapi/pkginfo.php
+++ b/pkgapi/pkginfo.php
@@ -29,7 +29,7 @@ $infos = trim(
)
);
-if (!isset($infos))
+if (!isset($infos) || empty($infos))
throw_http_error(404, 'Package not found.');
function parse_pacinfo_line($line) {