Skip to content

Commit

Permalink
Merge branch 'MDL-29817_30' of https://github.com/rushi963/moodle int…
Browse files Browse the repository at this point in the history
…o MOODLE_30_STABLE
  • Loading branch information
stronk7 committed Jan 26, 2016
2 parents 8e114d8 + c327cc5 commit 859d6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/form/advcheckbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct($elementName=null, $elementLabel=null, $text=null, $
$values = array(0, 1);
}

if (!is_null($attributes['group'])) {
if (!empty($attributes['group'])) {

$this->_group = 'checkboxgroup' . $attributes['group'];
unset($attributes['group']);
Expand Down

0 comments on commit 859d6e4

Please sign in to comment.