Skip to content
Browse files

Merge branch 'w16_MDL-32437_m21_tablename' of git://github.com/skodak…

…/moodle into MOODLE_21_STABLE
  • Loading branch information...
2 parents dd9841f + f0aeced commit 8a2b5c4525b90578d0063150f3a016fe06eae71e @danpoltawski danpoltawski committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/querylib.php
View
2 grade/querylib.php
@@ -325,7 +325,7 @@ function grade_get_gradable_activities($courseid, $modulename='') {
$params = array($courseid, $modulename, GRADE_TYPE_NONE, $modulename);
$sql = "SELECT cm.*, m.name, md.name as modname
- FROM {grade_items} gi, {course_modules} cm, {modules} md, {$modulename} m
+ FROM {grade_items} gi, {course_modules} cm, {modules} md, {{$modulename}} m
WHERE gi.courseid = ? AND
gi.itemtype = 'mod' AND
gi.itemmodule = ? AND

0 comments on commit 8a2b5c4

Please sign in to comment.
Something went wrong with that request. Please try again.