From e008715a82983a105d6fd689452898245687cf47 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 22 Nov 2018 23:28:31 +0100 Subject: packages/pkginfo.php: ignore json info if unavailable, too --- packages/pkginfo.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/pkginfo.php') diff --git a/packages/pkginfo.php b/packages/pkginfo.php index b662f4e..f877ef6 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -19,8 +19,10 @@ require_once BASE . "/lib/style.php"; true ); - if (!isset($json_content["package"])) + if (!isset($json_content["package"])) { unset($json_content); + $skip_json_checks = true; + } //throw_http_error(404, "Package Not Found In Sync Database"); //$json_content = $json_content["package"]; -- cgit v1.2.3-70-g09d2