From: stronk7 Date: Thu, 15 May 2008 22:55:27 +0000 (+0000) Subject: Fixed typo preventing params to be properly passed. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=137e0e6f6546b0c18fe0b740eb2c771b70da7f33;p=moodle.git Fixed typo preventing params to be properly passed. --- 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) {