From 08d16322e1066f207875bcbd7f9930aadb080860 Mon Sep 17 00:00:00 2001 From: Dag <me@dvikan.no> Date: Sun, 16 Jul 2023 22:37:37 +0200 Subject: [PATCH] fix: bug in prior conflict merge (#3546) --- lib/contents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contents.php b/lib/contents.php index 419432df..b6b74539 100644 --- a/lib/contents.php +++ b/lib/contents.php @@ -191,7 +191,7 @@ function getContents( throw new CloudFlareException($exceptionMessage, $response['code']); } } - throw new HttpException(trim($exceptionMessage), $result['code']); + throw new HttpException(trim($exceptionMessage), $response['code']); } if ($returnFull === true) { // For legacy reasons, use content instead of body