diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-01-22 02:17:55 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2016-01-22 02:17:55 -0800 |
commit | e42fcbd04e01c92853a28aa64bdd61729de12db0 (patch) | |
tree | a7edf62e0d9e98b5e1c146fc3d9a212431446fef /src | |
parent | cba2816e689553fa9c6dd408408accb34d370b79 (diff) | |
download | pfsense-e42fcbd04e01c92853a28aa64bdd61729de12db0.zip pfsense-e42fcbd04e01c92853a28aa64bdd61729de12db0.tar.gz |
Adding {} to if statement.
Diffstat (limited to 'src')
-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} |