From f88c705e6a48379bbd66a0425424ec545fa1e76a Mon Sep 17 00:00:00 2001 From: zenggang Date: Thu, 23 Mar 2023 02:09:38 +0000 Subject: [PATCH] * Fix bug#33135 --- lib/scm/gitlab.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scm/gitlab.class.php b/lib/scm/gitlab.class.php index 799b674608..a8f5b9d454 100644 --- a/lib/scm/gitlab.class.php +++ b/lib/scm/gitlab.class.php @@ -836,7 +836,7 @@ class gitlab return array(); } - if($httpCode == 500) return array(); + if($httpCode == 500 or $httpCode == 404) return array(); return json_decode($response); } }