Permalink
Browse files

Correction to Short answers, now checks the answers in order (first to

last) and stops checking if a match is found.
  • Loading branch information...
1 parent 414f3a1 commit c02f17379995236daa1486ed7492a02e4b59736f rkingdon committed Sep 10, 2004
Showing with 2 additions and 0 deletions.
  1. +2 −0 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 {

0 comments on commit c02f173

Please sign in to comment.