fixed mnod typo
authorskodak <skodak>
Wed, 6 Jun 2007 07:59:55 +0000 (07:59 +0000)
committerskodak <skodak>
Wed, 6 Jun 2007 07:59:55 +0000 (07:59 +0000)
lib/gradelib.php

index 3f8e37f12b3364ff75bd2e265e18b2c64f622587..34b1b2ada0b831db70f186dfb01792d2995a4d54 100644 (file)
@@ -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;
     }