MDL-33576: If grade set to "No grade" in mod_assign hide inputs for quickgrading
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user