From 137e0e6f6546b0c18fe0b740eb2c771b70da7f33 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 15 May 2008 22:55:27 +0000 Subject: [PATCH] Fixed typo preventing params to be properly passed. --- lib/accesslib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/accesslib.php b/lib/accesslib.php index 4332fe2b08..0995ea3173 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -1176,7 +1176,7 @@ function get_user_access_sitewide($userid) { ON rc.contextid=ctx.id WHERE $clauses ORDER BY ctx.depth ASC, ctx.path DESC, rc.roleid ASC "; - $rs = $DB->get_recordset_sql($sql, $params); + $rs = $DB->get_recordset_sql($sql, $cparams); unset($clauses); if ($rs) { -- 2.39.5