MDL-80082 report_progress: Output 'Nothing to display' as notification.

This commit is contained in:
Luca Bösch 2023-11-21 22:01:47 +01:00
parent 49d7ca455c
commit 841fa9d556

View File

@ -272,7 +272,7 @@ if (!$csv) {
print $pagingbar;
if (!$total) {
echo $OUTPUT->heading(get_string('nothingtodisplay'));
echo $OUTPUT->notification(get_string('nothingtodisplay'), 'info', false);
echo $OUTPUT->footer();
exit;
}