diff options
author | jim-p <jimp@pfsense.org> | 2016-01-17 20:41:28 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-01-17 20:41:28 -0500 |
commit | c8a5dfce04e3dfbf02ee9704f09ae45819ef4553 (patch) | |
tree | c653515df5ebb8d5e01b400fe9476a23e7602749 | |
parent | 862e371e1bfb592ee7d8de73aaad69a34bbcc3a8 (diff) | |
download | pfsense-c8a5dfce04e3dfbf02ee9704f09ae45819ef4553.zip pfsense-c8a5dfce04e3dfbf02ee9704f09ae45819ef4553.tar.gz |
Put this htmlspecialchars back, I found a better workaround for the inconsistent handling of checkboxes in packages.
-rw-r--r-- | src/usr/local/www/classes/Form/Checkbox.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/classes/Form/Checkbox.class.php b/src/usr/local/www/classes/Form/Checkbox.class.php index 3444de7..d94c210 100644 --- a/src/usr/local/www/classes/Form/Checkbox.class.php +++ b/src/usr/local/www/classes/Form/Checkbox.class.php @@ -66,6 +66,6 @@ class Form_Checkbox extends Form_Input if (!isset($this->_description)) return $input; - return '<label>'. $input .' '. gettext($this->_description) .'</label>'; + return '<label>'. $input .' '. htmlspecialchars(gettext($this->_description)) .'</label>'; } }
\ No newline at end of file |