Use null-coalescing operator where appropriate
This commit is contained in:
@@ -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