Skip to content

Commit

Permalink
php8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Takika authored Dec 26, 2022
1 parent de02fe2 commit 668c4c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rc_bugheader.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ function init()

function storage_init($p)
{
$p['fetch_headers'] = trim($p['fetch_headers'] . ' ' . strtoupper(join(' ', $this->_bugMailHeaders)));
$new_headers = trim(strtoupper(join(' ', $this->_bugMailHeaders)));
$p['fetch_headers'] = isset($p['fetch_headers']) ? trim($p['fetch_headers'] . ' ' . $new_headers) : $new_headers;

return $p;
}
Expand Down

0 comments on commit 668c4c8

Please sign in to comment.