Skip to content

Commit

Permalink
Merge branch 'MDL-44952-29' of git://github.com/marinaglancy/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_29_STABLE
  • Loading branch information
danpoltawski committed Feb 29, 2016
2 parents fc47609 + 0f94bbe commit 05392ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mod/feedback/item/multichoice/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ public function check_value($value, $item) {
return true;
}

if (!isset($value) OR !is_array($value) OR $value[0] == '' OR $value[0] == 0) {
if (empty($value) OR !is_array($value) OR $value[0] == '' OR $value[0] == 0) {
return false;
}

Expand Down
1 change: 1 addition & 0 deletions mod/feedback/item/multichoice/multichoice_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public function definition() {
$mform->addElement('selectyesno',
'hidenoselect',
get_string('hide_no_select_option', 'feedback'));
$mform->disabledIf('hidenoselect', 'subtype', 'ne', 'r');

$mform->addElement('static',
'hint',
Expand Down

0 comments on commit 05392ca

Please sign in to comment.