MDL-32718 Fixed typo in column name
authorFrederic Massart <fred@moodle.com>
Tue, 8 May 2012 05:53:51 +0000 (13:53 +0800)
committerDan Poltawski <dan@moodle.com>
Tue, 8 May 2012 07:54:11 +0000 (15:54 +0800)
mod/workshop/lib.php

index c179b59..8d68ec1 100644 (file)
@@ -597,7 +597,7 @@ function workshop_get_recent_mod_activity(&$activities, &$index, $timestart, $co
     if ($groupid) {
         $groupselect = "AND (authorgroupmembership.groupid = :authorgroupid OR reviewergroupmembership.groupid = :reviewergroupid)";
         $groupjoin   = "LEFT JOIN {groups_members} authorgroupmembership ON authorgroupmembership.userid = author.id
-                        LEFT JOIN {groups_members} reviewergroupmembership ON reviewergroumembership.userid = reviewer.id";
+                        LEFT JOIN {groups_members} reviewergroupmembership ON reviewergroupmembership.userid = reviewer.id";
         $params['authorgroupid'] = $groupid;
         $params['reviewergroupid'] = $groupid;
     } else {