From 58ffded0c8eca97217b11aa41935fc0228e16320 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 10 Nov 2021 04:44:59 +0100 Subject: [PATCH] Update src/Module/BaseApi.php Co-authored-by: Hypolite Petovan --- src/Module/BaseApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/BaseApi.php b/src/Module/BaseApi.php index 032d5404f..44461117d 100644 --- a/src/Module/BaseApi.php +++ b/src/Module/BaseApi.php @@ -344,7 +344,7 @@ class BaseApi extends BaseModule 'request' => DI::args()->getQueryString() ]; - header($_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.1' . ' ' . $code . ' ' . $description); + header(($_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.1') . ' ' . $code . ' ' . $description); self::exit('status', ['status' => $error], $format); }