Use null-coalescing operator where appropriate
This commit is contained in:
1 parent
5c55e45c3c
commit
96937b6952
2 files changed
+7
-11
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user