Merge branch 'MDL-55249_m32v1' of https://github.com/sbourget/moodle

This commit is contained in:
Dan Poltawski 2016-11-10 15:01:41 +00:00
commit a3ead7172b

View File

@ -237,7 +237,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');