This commit is contained in:
Eloy Lafuente (stronk7)
2016-01-29 10:15:24 +08:00
committed by David Monllao
+1 -1
View File
@@ -61,7 +61,7 @@ class MoodleQuickForm_advcheckbox extends HTML_QuickForm_advcheckbox{
$values = array(0, 1);
}
if (!is_null($attributes['group'])) {
if (!empty($attributes['group'])) {
$this->_group = 'checkboxgroup' . $attributes['group'];
unset($attributes['group']);