diff options
Diffstat (limited to 'src/usr/local/www/classes/Form/Group.class.php')
-rw-r--r-- | src/usr/local/www/classes/Form/Group.class.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/local/www/classes/Form/Group.class.php b/src/usr/local/www/classes/Form/Group.class.php index d2563a9..ce11969 100644 --- a/src/usr/local/www/classes/Form/Group.class.php +++ b/src/usr/local/www/classes/Form/Group.class.php @@ -148,8 +148,9 @@ EOT; $label = new Form_Element('label', false, ['for' => $target]); $label->addClass('col-sm-'.Form::LABEL_WIDTH, 'control-label'); - if (!empty(trim($this->_title)) || is_numeric($this->_title)) + if (!empty(trim($this->_title)) || is_numeric($this->_title)) { $title = htmlspecialchars(gettext($this->_title)); + } return <<<EOT {$element} |