fixed rolesactive notice during installation

This commit is contained in:
skodak
2006-10-19 22:17:12 +00:00
parent a3faf996f5
commit 7add89d356
+1 -1
View File
@@ -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');