MDL-36804 Assignment attempt history: Fix warning on saving a new grade.
authorDamyon Wiese <damyon@moodle.com>
Fri, 5 Apr 2013 02:03:00 +0000 (10:03 +0800)
committerDamyon Wiese <damyon@moodle.com>
Fri, 5 Apr 2013 02:03:00 +0000 (10:03 +0800)
commita8fdb36cf2cf32559382025feac091f15b48f30e
treecd59fcaadc5cb3006f16d461c2f846d5fedd1392
parent577173a51ff03367f137b990eed0a4958ad1020f
MDL-36804 Assignment attempt history: Fix warning on saving a new grade.

This is a fix for the case when there is a submission but no grade.
mod/assign/locallib.php