diff options
author | Mario <mario@mariovavti.com> | 2022-09-14 12:31:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-09-14 12:31:19 +0000 |
commit | 1d56b9a1bb155d7a0b4377f9bb1e195230e545e4 (patch) | |
tree | f7b6413727a97cfa0512dc9701d493d6751dc741 /include/network.php | |
parent | 96535ee4df967f04d4cc6c3b7f9ab335a50f543d (diff) | |
download | volse-hubzilla-1d56b9a1bb155d7a0b4377f9bb1e195230e545e4.tar.gz volse-hubzilla-1d56b9a1bb155d7a0b4377f9bb1e195230e545e4.tar.bz2 volse-hubzilla-1d56b9a1bb155d7a0b4377f9bb1e195230e545e4.zip |
php8: warning fixes
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php index a236a6f8e..36859bc2f 100644 --- a/include/network.php +++ b/include/network.php @@ -1997,7 +1997,7 @@ function getBestSupportedMimeType($mimeTypes = null, $acceptedTypes = false) { $AcceptTypes = []; if($acceptedTypes === false) - $acceptedTypes = $_SERVER['HTTP_ACCEPT']; + $acceptedTypes = $_SERVER['HTTP_ACCEPT'] ?? ''; if (!$acceptedTypes) { return null; |