Permalink
Browse files

MDL-26486 Lesson : fixed whitespace

  • Loading branch information...
1 parent b735bd1 commit 6d3ae9103cb068617fd2b5891ab92a6f776986c4 @nebgor nebgor committed Oct 3, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 mod/lesson/pagetypes/matching.php
@@ -384,10 +384,10 @@ public function report_answers($answerpage, $answerdata, $useranswer, $pagestats
$answerdata->response = $answer->response;
}
if ($this->lesson->custom) {
- $answerdata->score = get_string("pointsearned", "lesson").": ".$answer->score;
- } else {
- $answerdata->score = get_string("receivedcredit", "lesson");
- }
+ $answerdata->score = get_string("pointsearned", "lesson").": ".$answer->score;
+ } else {
+ $answerdata->score = get_string("receivedcredit", "lesson");
+ }
} elseif ($n == 1 && $useranswer != NULL && !$useranswer->correct) {
if ($answer->response == NULL && $useranswer != NULL) {
$answerdata->response = get_string("thatsthewronganswer", "lesson");

0 comments on commit 6d3ae91

Please sign in to comment.