MDL-46819 core_grades: Negative weights are changed to 0
authorAdrian Greeve <adrian@moodle.com>
Thu, 9 Oct 2014 08:33:53 +0000 (16:33 +0800)
committerAdrian Greeve <adrian@moodle.com>
Mon, 13 Oct 2014 00:19:24 +0000 (08:19 +0800)
commit0cf122171ba92f4beb58afe899d4a368d51d69e4
tree77d3439fba3f97cba0cf0ca46f07b085cb61dee9
parentd3ff82257e91d7d4157f16d53d63cf45e4253309
MDL-46819 core_grades: Negative weights are changed to 0

Negative weights in the natural aggregation are not currently permitted.
Any figure below zero is changed to a zero.
grade/tests/behat/grade_natural_normalisation.feature
lib/grade/grade_category.php