From: tjhunt Date: Tue, 18 Nov 2008 02:49:09 +0000 (+0000) Subject: Fix typo. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d559bdc0632d2bf172640a3cc9260fd6eda2c698;p=moodle.git Fix typo. --- diff --git a/user/index.php b/user/index.php index 02dea0d707..c58d5e453d 100644 --- a/user/index.php +++ b/user/index.php @@ -491,7 +491,7 @@ // 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