Permalink
Browse files

Fixes bug MDL-8234, "New groups code & AS keyword" - fixed typo in la…

…st commit.
  • Loading branch information...
nfreear
nfreear committed Jan 23, 2007
1 parent e590215 commit 0414d79d9345b5ce828292bdf87ad7772dbe1226
Showing with 1 addition and 1 deletion.
  1. +1 −1 group/db/dbbasicgrouplib.php
@@ -152,7 +152,7 @@ function groups_db_get_group_settings($groupid, $courseid=false, $alldata=false)
function groups_db_users_in_common_group($userid1, $userid2) {
global $CFG;
$havecommongroup = false;
$sql = "SELECT gm1.groupid, 1 FROM {$CFG->prefix}groups_membersgm1 " .
$sql = "SELECT gm1.groupid, 1 FROM {$CFG->prefix}groups_members gm1 " .
"INNER JOIN {$CFG->prefix}groups_members gm2 " .
"ON gm1.groupid = gm2.groupid" .
"WHERE gm1.userid = '$userid1' AND gm2.userid = '$userid2'";

0 comments on commit 0414d79

Please sign in to comment.