diff --git a/HTML/QuickForm/checkbox.php b/HTML/QuickForm/checkbox.php index 13881d0..1384d85 100644 --- a/HTML/QuickForm/checkbox.php +++ b/HTML/QuickForm/checkbox.php @@ -134,7 +134,7 @@ class HTML_QuickForm_checkbox extends HTML_QuickForm_input function toHtml() { $attributes = $this->getAttributes(); - + $this->_text = empty($this->_text) ? '' : $this->_text; if (0 == strlen($this->_text ?? '')) { $label = ''; } elseif ($this->_flagFrozen || isset( $attributes['skiplabel']) ) {