Browse files

MDL-32718 fixing an SQL typo in workshop_get_recent_mod_activity()

  • Loading branch information...
1 parent 6791b08 commit cffd4c5b3f229d0ad21b6a92daf35f259eb69b63 @mudrd8mz mudrd8mz committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/workshop/lib.php
View
2 mod/workshop/lib.php
@@ -581,7 +581,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 authorgroumembership.userid = author.id
+ $groupjoin = "LEFT JOIN {groups_members} authorgroupmembership ON authorgroupmembership.userid = author.id
LEFT JOIN {groups_members} reviewergroupmembership ON reviewergroumembership.userid = reviewer.id";
$params['authorgroupid'] = $groupid;
$params['reviewergroupid'] = $groupid;

0 comments on commit cffd4c5

Please sign in to comment.