From 4441ce81d5e9304b32e31cab980b1d159a097eba Mon Sep 17 00:00:00 2001 From: GermanCoding Date: Sun, 31 Oct 2021 18:05:53 +0100 Subject: [PATCH] Fix PHP 8.0 warning --- tls_icon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tls_icon.php b/tls_icon.php index 497e5e1..af33d61 100644 --- a/tls_icon.php +++ b/tls_icon.php @@ -20,7 +20,7 @@ function init() public function storage_init($p) { - $p['fetch_headers'] = trim($p['fetch_headers'] . ' ' . strtoupper('Received')); + $p['fetch_headers'] = trim(($p['fetch_headers']?? '') . ' ' . strtoupper('Received')); return $p; }