MDL-50957 grade/report/user: Fix division by zero
authorClement Smith <cdsmith@umn.edu>
Thu, 30 Jul 2015 12:44:42 +0000 (07:44 -0500)
committerClement Smith <cdsmith@umn.edu>
Mon, 24 Aug 2015 14:05:30 +0000 (09:05 -0500)
commit368c1bb6744a1fa9928aa620b25d3461a78c7e10
tree704fa4d44db8b292d0c0e8d67715c76e2aa63b59
parent032a4fe51ccf41cbd3c310d52ca5b7777ffb5123
MDL-50957 grade/report/user: Fix division by zero

When using "sum of grades" and $grademax is zero, a division by zero
error occurs in fill_contributions_column() in
grade/report/user/lib.php.
grade/report/user/lib.php