From 7d00b0c5dfa80e482b2ccf4bac2f680506a34b71 Mon Sep 17 00:00:00 2001 From: Dag Date: Tue, 17 May 2022 23:47:12 +0200 Subject: [PATCH] fix: include http code in exception (#2726) --- lib/contents.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/contents.php b/lib/contents.php index e67382c8..24c9082c 100644 --- a/lib/contents.php +++ b/lib/contents.php @@ -108,8 +108,9 @@ function getContents( sprintf( '%s %s', $result['code'], - RSSBRIDGE_HTTP_STATUS_CODES[$result['code']] ?? $result['code'] - ) + RSSBRIDGE_HTTP_STATUS_CODES[$result['code']] ?? '' + ), + $result['code'] ); } if ($returnFull === true) {