Skip to content

Commit

Permalink
Tiny corrections to make the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pabzm committed Oct 30, 2024
1 parent b1ea913 commit fda480b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion program/include/rcmail_output_html.php
Original file line number Diff line number Diff line change
Expand Up @@ -2735,7 +2735,7 @@ protected function add_csp_header(): void
$csp_parts[] = $csp_allow_remote;
}
}
$this->header("Content-Security-Policy: " . join('; ', $csp_parts));
$this->header('Content-Security-Policy: ' . implode('; ', $csp_parts));
}
}

Expand All @@ -2745,6 +2745,7 @@ protected function add_csp_header(): void
* default second argument to trim(), too).
*
* @param $name string The key of the wanted config value
*
* @return string|false
*/
protected function get_csp_value($name)
Expand Down

0 comments on commit fda480b

Please sign in to comment.