MDL-80082 report_completion: Output 'Nothing to display' as notification
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user