projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8c950b
)
fixed mnod typo
author
skodak
<skodak>
Wed, 6 Jun 2007 07:59:55 +0000
(07:59 +0000)
committer
skodak
<skodak>
Wed, 6 Jun 2007 07:59:55 +0000
(07:59 +0000)
lib/gradelib.php
patch
|
blob
|
history
diff --git
a/lib/gradelib.php
b/lib/gradelib.php
index 3f8e37f12b3364ff75bd2e265e18b2c64f622587..34b1b2ada0b831db70f186dfb01792d2995a4d54 100644
(file)
--- 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 == 'm
n
od') {
+ if ($grade_item->itemtype == 'mod') {
// modules must have own handlers for grade update requests
return true;
}