mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
Merge branch 'MDL-44264' of https://github.com/merrill-oakland/moodle
This commit is contained in:
commit
9a85b4e053
@ -341,6 +341,11 @@ if (!isset($hiddenfields['mycourses'])) {
|
||||
}
|
||||
}
|
||||
|
||||
require_once($CFG->libdir . '/badgeslib.php');
|
||||
if (!empty($CFG->enablebadges) && !empty($CFG->badges_allowcoursebadges)) {
|
||||
profile_display_badges($user->id, $courseid);
|
||||
}
|
||||
|
||||
if (!isset($hiddenfields['suspended'])) {
|
||||
if ($user->suspended) {
|
||||
echo html_writer::tag('dt', " ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user