index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-03-06 13:01:05 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-03-06 13:01:05 +0100 |
commit | 55a6bb67d37df1f273a64ea226eaf0fdfd53171e (patch) | |
tree | 06bb89a1e8e4735ffb9178934d08473807a935f3 /pkgapi/pkginfo.php | |
parent | da8303504d0b27f296b2109e13c48f704a85d3f9 (diff) |
-rw-r--r-- | pkgapi/pkginfo.php | 2 |
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) { |