Use null-coalescing operator where appropriate

This commit is contained in:
Aaron committed 2021-02-17 20:43:29 +01:00
1 parent 5c55e45c3c
commit 96937b6952
2 files changed
+7 -11

No files matched your search

+1 -1
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();