From b919d680499eb42bcddfb0cc368dfba6628e347b Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 6 Jun 2007 07:59:55 +0000 Subject: [PATCH] fixed mnod typo --- lib/gradelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }