Can’t generate certificate
-
Hi,
I just want to notify a bug in the code, you’ll excuse my english, cause i’m not very good.
In my case, I have modules and in these modules there are pages, and Quizzes ( to pass a Quizz you must have at least 80% ). When I pass all modules my grade is 91% and the certificate is empty.
When I look at the code, the bug found concern a page when you edit a course on tab “Units”, the checkbox “User needs to answer all required assessments and view all pages in order to access the next unit” don’t act as expected. when the bouton, it’s not checked, the user don’t need to read all pages in order to be graduated, that’s not the case, the button unchecked act as if it is checked.
if you see in the code ( Class “class-student.php -> Method “get_calculated_completion_data” -> line 1275 -> $is_completed = 100 == $course_progress; // the code force the user to read all pages and there is no case it doesn’t have to.
Cordially,
Thanks,
- The topic ‘Can’t generate certificate’ is closed to new replies.