Skip to content

Commit

Permalink
Merge branch 'MDL-27418' of git://github.com/timhunt/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jul 1, 2011
2 parents 90e9d09 + e42646b commit 3bd43d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/type/numerical/edit_numerical_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ protected function validate_answers($data, $errors) {
* @return bool whether this is a valid answer.
*/
protected function is_valid_answer($answer, $data) {
return $answer == '*' || $this->is_valid_number($x);
return $answer == '*' || $this->is_valid_number($answer);
}

/**
Expand Down

0 comments on commit 3bd43d3

Please sign in to comment.