index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-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) { |