]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14035 fixed user images on user report; merged from MOODLE_19_STABLE
authorskodak <skodak>
Sat, 5 Jul 2008 16:14:08 +0000 (16:14 +0000)
committerskodak <skodak>
Sat, 5 Jul 2008 16:14:08 +0000 (16:14 +0000)
grade/report/grader/lib.php

index e0f007bc7faf6c7a0c21077f54562a95e41def33..0ab0d251995d21e5e25ce759c6423421338fa961 100644 (file)
@@ -707,7 +707,7 @@ class grade_report_grader extends grade_report {
             // Student name and link
             $user_pic = null;
             if ($showuserimage) {
-                $user_pic = '<div class="userpic">' . print_user_picture($user, $this->courseid, true, 0, true) . '</div>';
+                $user_pic = '<div class="userpic">' . print_user_picture($user, $this->courseid, null, 0, true) . '</div>';
             }
 
             $studentshtml .= '<tr class="r'.$this->rowcount++ . $row_classes[$this->rowcount % 2] . '">'