Skip to content
Permalink
Browse files

MDL-7250 typo ARGH sorry.

  • Loading branch information...
sam_marshall
sam_marshall committed Oct 27, 2006
1 parent d0f6aa9 commit 6266a81cf733df8b1d0b48a3750e95c1e0d7495e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/accesslib.php
@@ -128,7 +128,7 @@ function load_defaultuser_role() {
}
if ($capabilities = get_records_select('role_capabilities',
"roleid = $CFG->defaultuserroleid AND contextid = $sitecontext->id AND capability <> 0")) {
"roleid = $CFG->defaultuserroleid AND contextid = $sitecontext->id AND permission <> 0")) {
foreach ($capabilities as $capability) {
if (!isset($USER->capabilities[$sitecontext->id][$capability->capability])) { // Don't overwrite
$USER->capabilities[$sitecontext->id][$capability->capability] = $capability->permission;

0 comments on commit 6266a81

Please sign in to comment.
You can’t perform that action at this time.