Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-26486 Lesson : fixed whitespace

  • Loading branch information...
commit 6dd8588504d5a5f2c0f2e2eb3dc125ade0a5ac40 1 parent e2c3a02
@nebgor nebgor authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 mod/lesson/pagetypes/matching.php
View
8 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");
Please sign in to comment.
Something went wrong with that request. Please try again.