]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed typo preventing params to be properly passed.
authorstronk7 <stronk7>
Thu, 15 May 2008 22:55:27 +0000 (22:55 +0000)
committerstronk7 <stronk7>
Thu, 15 May 2008 22:55:27 +0000 (22:55 +0000)
lib/accesslib.php

index 4332fe2b08cdb0aa1f32d28e08daa1645b830f06..0995ea3173710a738d10f32b3d170f8a4d37d2e3 100755 (executable)
@@ -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) {