mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
fixed rolesactive notice during installation; merged from MOODLE_17_STABLE
This commit is contained in:
parent
211836549f
commit
82a4eee1a2
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user