Merge branch 'MDL-55249_m31v1' of https://github.com/sbourget/moodle into MOODLE_31_STABLE

This commit is contained in:
Dan Poltawski
2016-11-10 15:01:41 +00:00
+1 -1
View File
@@ -233,7 +233,7 @@ if (!$students) {
$profilelink = '<strong><a href="'.$profile_url.'">'.fullname($user).'</a></strong>';
$data = array ($OUTPUT->user_picture($user, array('courseid'=>$course->id)), $profilelink);
if ($DB->record_exists('feedback_completedtmp', array('userid'=>$user->id))) {
if ($DB->record_exists('feedback_completedtmp', array('userid' => $user->id, 'feedback' => $feedback->id))) {
$data[] = get_string('started', 'feedback');
} else {
$data[] = get_string('not_started', 'feedback');