Use null-coalescing operator where appropriate

This commit is contained in:
2021-02-17 16:09:49 +01:00
parent 5c55e45c3c
commit 96937b6952
2 changed files with 7 additions and 11 deletions

View File

@@ -25,7 +25,7 @@ class FormView extends SubTemplate
if (!empty($this->title))
echo '
<div class="admin_box">
<h2>', $this->title, '</h2>';
<h2>', htmlspecialchars($this->title), '</h2>';
foreach ($this->_subtemplates as $template)
$template->html_main();