Closed goose2000 closed 2 years ago
Easy to update locallib.php
start at line 1860
if (!$users) { // notify(get_string('nocertificatesissued', 'simplecertificate')); $nocerts = get_string('nocertificatesissued', 'simplecertificate'); echo $OUTPUT->notification($nocerts, $classes='test'); echo $OUTPUT->footer(); exit(); }
Describe the bug When I visit the Issued certificates tab (and no certificates have been issued yet), I see this error :
notify() is removed, please use $OUTPUT->notification() instead
Moodle Version(s) Moodle 3.9
To Reproduce Steps to reproduce the behavior:
Coding error detected, it must be fixed by a programmer: notify() is removed, please use $OUTPUT->notification() instead
Expected behavior
This looks like a core change that needs updating for S.C. Expect to see a message - No certificates have been issued.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information): NA
Additional context
I am an administrator role when this error is shown.