Git commits in Moodle 1.8.6 by arborrow

commit 970ea98196285325ec1c5a715dfc9a8e3a7d032e
Author: arborrow <arborrow>
Date:   Sat, 05 Jul 2008 10:58:32 +0800
Tag:    v1.8.6

MDL-14022 - verifies that maxgrade is in fact a number before adding grade_against to totalpoints

commit f1591379e8b7ce72c9e48a2b13738c801de172f7
Author: arborrow <arborrow>
Date:   Sat, 05 Jul 2008 06:21:51 +0800
Tag:    v1.8.6

MDL-7571 - shuffles 'mode' before displaying, also moves some code to avoid a duplicate foreach loop