Merge branch 'MDL-33576-2' of git://github.com/netspotau/moodle-mod_assign

This commit is contained in:
Dan Poltawski
2012-06-13 11:28:39 +08:00
+1 -1
View File
@@ -894,7 +894,7 @@ class assign {
if ($this->get_instance()->grade >= 0) {
// Normal number
if ($editing) {
if ($editing && $this->get_instance()->grade > 0) {
if ($grade < 0) {
$displaygrade = '';
} else {