diff --git a/bl-kernel/admin/controllers/add-user.php b/bl-kernel/admin/controllers/add-user.php index ce004cf3..c24d28a4 100644 --- a/bl-kernel/admin/controllers/add-user.php +++ b/bl-kernel/admin/controllers/add-user.php @@ -51,6 +51,7 @@ function addUser($args) $tmp['username'] = $args['new_username']; $tmp['password'] = $args['new_password']; $tmp['role'] = $args['role']; + $tmp['email'] = $args['email']; // Add the user to the database if( $dbUsers->add($tmp) ) diff --git a/bl-kernel/admin/controllers/new-page.php b/bl-kernel/admin/controllers/new-page.php index 7bf42726..4fac1f31 100644 --- a/bl-kernel/admin/controllers/new-page.php +++ b/bl-kernel/admin/controllers/new-page.php @@ -19,7 +19,7 @@ function addPage($args) if($key) { // Re index categories - reIndexCategoriesPages(); + //reIndexCategoriesPages(); // Call the plugins after page created. Theme::plugins('afterPageCreate');