mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-33576: If grade set to "No grade" in mod_assign hide inputs for quickgrading
This commit is contained in:
parent
0961ca7998
commit
e7ade405eb
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user