Merge branch 'MDL-31469_22' of git://github.com/timhunt/moodle into MOODLE_22_STABLE

This commit is contained in:
Aparup Banerjee
2012-02-07 15:12:26 +08:00
+1
View File
@@ -113,6 +113,7 @@ class HTML_QuickForm_checkbox extends HTML_QuickForm_input
*/
function toHtml()
{
$this->_generateId(); // Seems to be necessary when this is used in a group.
if (0 == strlen($this->_text)) {
$label = '';
} elseif ($this->_flagFrozen) {