diff --git a/lib/gradelib.php b/lib/gradelib.php index 3f8e37f12b3..34b1b2ada0b 100644 --- a/lib/gradelib.php +++ b/lib/gradelib.php @@ -559,7 +559,7 @@ function grade_handler($eventdata) { } // !! TODO: whitelist only some types such as 'import'(?) 'manual'(?) and ignore the rest!! - if ($grade_item->itemtype == 'mnod') { + if ($grade_item->itemtype == 'mod') { // modules must have own handlers for grade update requests return true; }