From 6d3ae9103cb068617fd2b5891ab92a6f776986c4 Mon Sep 17 00:00:00 2001 From: Aparup Banerjee Date: Mon, 3 Oct 2011 16:00:24 +0800 Subject: [PATCH] MDL-26486 Lesson : fixed whitespace --- mod/lesson/pagetypes/matching.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/lesson/pagetypes/matching.php b/mod/lesson/pagetypes/matching.php index eff2d50258d..25812d7bfb8 100644 --- a/mod/lesson/pagetypes/matching.php +++ b/mod/lesson/pagetypes/matching.php @@ -384,10 +384,10 @@ class lesson_page_type_matching extends lesson_page { $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"); -- 2.43.0