This commit is contained in:
Eloy Lafuente (stronk7) 2016-01-27 00:51:06 +01:00 committed by David Monllao
commit 3c415f13b8

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']);