Merge branch 'MDL-82233-403' of https://github.com/sarjona/moodle into MOODLE_403_STABLE
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ echo $OUTPUT->heading(print_badge_image($badge, $context, 'small') . ' ' . $badg
|
||||
|
||||
if ($awards == 'cron') {
|
||||
echo $OUTPUT->notification(get_string('awardoncron', 'badges'), 'notifysuccess');
|
||||
} else if ($awards != 0) {
|
||||
} else if ((int)$awards > 0) {
|
||||
echo $OUTPUT->notification(get_string('numawardstat', 'badges', $awards), 'notifysuccess');
|
||||
}
|
||||
echo $output->print_badge_status_box($badge);
|
||||
|
||||
Reference in New Issue
Block a user