Merge branch 'MDL-29817_30' of https://github.com/rushi963/moodle into MOODLE_30_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2016-01-27 00:52:05 +01:00
+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']);