Skip to content

Commit 4441ce8

Browse files
committed
Fix PHP 8.0 warning
1 parent 9a8de27 commit 4441ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tls_icon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function init()
2020

2121
public function storage_init($p)
2222
{
23-
$p['fetch_headers'] = trim($p['fetch_headers'] . ' ' . strtoupper('Received'));
23+
$p['fetch_headers'] = trim(($p['fetch_headers']?? '') . ' ' . strtoupper('Received'));
2424
return $p;
2525
}
2626

0 commit comments

Comments
 (0)