MDL-36804 Assign history: Fix automatic coding error when using auto-reopen method
authorDamyon Wiese <damyon@moodle.com>
Fri, 5 Apr 2013 07:53:38 +0000 (15:53 +0800)
committerDamyon Wiese <damyon@moodle.com>
Fri, 5 Apr 2013 07:53:38 +0000 (15:53 +0800)
commite7af1926064c22e866859721eefcb2be947dd27c
tree8c94b78e45b485fcbedd01369ecaad57468de17d
parenta8fdb36cf2cf32559382025feac091f15b48f30e
MDL-36804 Assign history: Fix automatic coding error when using auto-reopen method

This fix should call the gradebook function is_passed - but the gradebook is returning a record with
not enough information to create an instance of grade_grade.
mod/assign/locallib.php