MDL-23949 ohlala, I have borked the capabilities preloading completely - sorry for the regression!!
This commit is contained in:
+1
-1
@@ -1433,7 +1433,7 @@ function load_all_capabilities() {
|
||||
$_SESSION['USER']->access['ra'][$base] = array($guest->id);
|
||||
|
||||
|
||||
} else if (empty($_SESSION['USER']->id)) { // can not use isloggedin() yet
|
||||
} else if (!empty($_SESSION['USER']->id)) { // can not use isloggedin() yet
|
||||
|
||||
$accessdata = get_user_access_sitewide($_SESSION['USER']->id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user