MDL-23949 ohlala, I have borked the capabilities preloading completely - sorry for the regression!!

This commit is contained in:
Petr Skoda
2010-08-29 16:26:35 +00:00
parent 77f6cb83c0
commit f2b7f45486
+1 -1
View File
@@ -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);