fixed rolesactive notice during installation; merged from MOODLE_17_STABLE
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@
|
||||
redirect('index.php');
|
||||
}
|
||||
|
||||
if (!$CFG->rolesactive) { // No admin user yet.
|
||||
if (empty($CFG->rolesactive)) { // No admin user yet.
|
||||
|
||||
$user = new object();
|
||||
$user->firstname = get_string('admin');
|
||||
|
||||
Reference in New Issue
Block a user