From: rkingdon Date: Fri, 10 Sep 2004 20:58:50 +0000 (+0000) Subject: Correction to Short answers, now checks the answers in order (first to X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c02f17379995236daa1486ed7492a02e4b59736f;p=moodle.git Correction to Short answers, now checks the answers in order (first to last) and stops checking if a match is found. --- diff --git a/mod/lesson/lesson.php b/mod/lesson/lesson.php index 23296cfa47..10d56e428e 100644 --- a/mod/lesson/lesson.php +++ b/mod/lesson/lesson.php @@ -354,6 +354,7 @@ if (trim(strip_tags($answer->response))) { $response = $answer->response; } + break; } } else { // case insensitive @@ -363,6 +364,7 @@ if (trim(strip_tags($answer->response))) { $response = $answer->response; } + break; } } } else {