MDL-80082 report_completion: Output 'Nothing to display' as notification

This commit is contained in:
Luca Bösch
2024-02-19 15:10:32 +01:00
parent f4282b726e
commit 49d7ca455c
+1 -1
View File
@@ -307,7 +307,7 @@ if (!$csv) {
print $pagingbar;
if (!$total) {
echo $OUTPUT->heading(get_string('nothingtodisplay'), 2);
echo $OUTPUT->notification(get_string('nothingtodisplay'), 'info', false);
echo $OUTPUT->footer();
exit;
}