moodle-mod_simplecertificate
moodle-mod_simplecertificate copied to clipboard
If a certifcate is viewed from 'Issued certificate' screen, it changes on certificate to that of the viewer, rather than the recipient
Describe the bug I have noticed in the past that if I as admin use the log in as feature, and then access a users certificate, it changes the name on ther certificate to my name not the name of the recipient (and changes it permanently) - however I have just realised that if a tutor goes to the 'view issued certificates' tab within a certificate and views a certificate it does the same thing, which is obvioulsy not good.
Moodle Version(s) I have just updated the simple certificate plugin to 2.2.11 (2020091503) and we are using Moodle 4.1.3+ (Build: 20230427)
To Reproduce
- Steps to reproduce the behavior:
- Create a certificate that contains the wildcards {FIRSTNAME} {LASTNAME} in it somewhere
- Log in as a student and access that certificate - check it displays correctly
- Log in as a tutor and visit the 'issued certificates' tab and click on the link for that certificate - see if it displays the students name or the tutor name
- Log back in as the student and revist the certificate to see if it is still showing the wrong name
Isso ocorre se o plugin filtercodes estiver ativo
Could you make the updated plugin available?