Markign block report & division by 0 error

Markign block report & division by 0 error

by Nikki Macfarlane -
Number of replies: 1
Another problem!! I am pretty sure I have the latest version of the marking block so hoping I am not wasting everyone's reading time with these errors!

If I click on Full Report in the marking block, I get the following error if no students have yet completed any assignments and had them graded:

Warning: Division by zero in /home/admin/wesite.com/html/course16/blocks/marking/lib.php on line 115

I can get around the problem by having a dummy studnet and submitting an assignment on their behalf but this is not a great long term solution. Any ideas?

Nikki Macfarlane
Average of ratings: -
In reply to Nikki Macfarlane

Re: Markign block report & division by 0 error

by Darren Smith -
Hello. Thanks for this.

I have a version which we have not released yet. Send your email address to dagza72@gmail.com if you like and I will email you the zip.

Darren