From: gustav_delius Date: Sun, 9 Apr 2006 21:58:58 +0000 (+0000) Subject: Make student name into a link on the review page X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7a0b035bf99400489e88955721ba9e8db0c4e195;p=moodle.git Make student name into a link on the review page --- diff --git a/mod/quiz/review.php b/mod/quiz/review.php index ac4e6bf880..3b7ccd3176 100644 --- a/mod/quiz/review.php +++ b/mod/quiz/review.php @@ -159,7 +159,7 @@ if ($attempt->userid <> $USER->id) { $student = get_record('user', 'id', $attempt->userid); $picture = print_user_picture($student->id, $course->id, $student->picture, false, true); - $table->data[] = array($picture, fullname($student, true)); + $table->data[] = array($picture, ''.fullname($student, true).''); } if ($isteacher and count($attempts = get_records_select('quiz_attempts', "quiz = '$quiz->id' AND userid = '$attempt->userid'", 'attempt ASC')) > 1) { // print list of attempts