Skip to content

Commit

Permalink
Merge branch 'w16_MDL-32437_m21_tablename' of git://github.com/skodak…
Browse files Browse the repository at this point in the history
…/moodle into MOODLE_21_STABLE
  • Loading branch information
danpoltawski committed Apr 16, 2012
2 parents dd9841f + f0aeced commit 8a2b5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/querylib.php
Expand Up @@ -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
Expand Down

0 comments on commit 8a2b5c4

Please sign in to comment.