Permalink
Browse files

Merge branch 'MDL-34226_22' of git://github.com/timhunt/moodle into M…

…OODLE_22_STABLE
  • Loading branch information...
danpoltawski committed Jul 23, 2012
2 parents 4dba21f + db5b519 commit 5d6842891e956a95cde4b600c8b749ac5765a00d
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/multichoice/question.php
@@ -199,7 +199,7 @@ public function is_same_response(array $prevresponse, array $newresponse) {
}
public function is_complete_response(array $response) {
- return array_key_exists('answer', $response);
+ return array_key_exists('answer', $response) && $response['answer'] !== '';
}
public function is_gradable_response(array $response) {

0 comments on commit 5d68428

Please sign in to comment.