From d559bdc0632d2bf172640a3cc9260fd6eda2c698 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 18 Nov 2008 02:49:09 +0000 Subject: [PATCH] Fix typo. --- user/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5