]> git.mjollnir.org Git - moodle.git/commitdiff
Fix typo.
authortjhunt <tjhunt>
Tue, 18 Nov 2008 02:49:09 +0000 (02:49 +0000)
committertjhunt <tjhunt>
Tue, 18 Nov 2008 02:49:09 +0000 (02:49 +0000)
user/index.php

index 02dea0d707692696110ac9f4b0947c4b42a60d2f..c58d5e453d4b0ebe9b971d195c7d7a29afaf318b 100644 (file)
         // FIX: TODO: This will not work if $currentgroup == 0, i.e. "those not in a group"
         $from  .= 'LEFT JOIN {groups_members} gm ON u.id = gm.userid ';
         $where .= ' AND gm.groupid = :currentgroup';
-        $params['curentgroup'] = $currentgroup;
+        $params['currentgroup'] = $currentgroup;
     }
 
     $totalcount = $DB->count_records_sql("SELECT COUNT(distinct u.id) $from $where", $params);   // Each user could have > 1 role