diff options
Diffstat (limited to 'inc/HTTP/HTTPClient.php')
-rw-r--r-- | inc/HTTP/HTTPClient.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/HTTP/HTTPClient.php b/inc/HTTP/HTTPClient.php index 7ba95a7b6..5c7491ee9 100644 --- a/inc/HTTP/HTTPClient.php +++ b/inc/HTTP/HTTPClient.php @@ -772,7 +772,7 @@ class HTTPClient { foreach($lines as $line){ @list($key, $val) = explode(':',$line,2); $key = trim($key); - $val = trim($val); + $val = trim($val ?? ''); $key = strtolower($key); if(!$key) continue; if(isset($headers[$key])){ |