]> git.mjollnir.org Git - moodle.git/commit
MDL-7308 "Check all the DB columns used to store grades, and make sure they all use...
authorjamiesensei <jamiesensei>
Mon, 8 Sep 2008 10:35:14 +0000 (10:35 +0000)
committerjamiesensei <jamiesensei>
Mon, 8 Sep 2008 10:35:14 +0000 (10:35 +0000)
commitc8b2ab1b009d4c9fcc218a872519b421b7dfc7b1
treeb9e801b6e282e1b43af767be287bf2651829af36
parentaca64b7934c361854bed8b85e29ee58cc3c253b0
MDL-7308 "Check all the DB columns used to store grades, and make sure they all use a consistent type." Since quiz->sumgrades is now string "0.00000" (quiz->sumgrades) no longer evaluates as false. Changing to (quiz->sumgrades != 0)
mod/quiz/locallib.php