Davo,
Thank you very much for the quick fix. The code looks good to me. However, we are currently running on MoodleCloud, so I can't upload your latest code to test. I have to wait.
Recently, I noticed a strange behavior. In a student's grade report, I noticed two checklist grade is "-" (empty). For most cases, if a student has completed any activity, the grade should be 0 instead of empty. Do know what might cause these empty grades? Thanks a lot.
Thank you very much for the quick fix. The code looks good to me. However, we are currently running on MoodleCloud, so I can't upload your latest code to test. I have to wait.
Recently, I noticed a strange behavior. In a student's grade report, I noticed two checklist grade is "-" (empty). For most cases, if a student has completed any activity, the grade should be 0 instead of empty. Do know what might cause these empty grades? Thanks a lot.