From eef031c89ffd14dd575f7d966bcd8d97020af6fa Mon Sep 17 00:00:00 2001 From: Diego Date: Fri, 5 May 2017 20:14:27 +0200 Subject: [PATCH] Fixed #424 --- bl-kernel/admin/controllers/add-user.php | 1 + bl-kernel/admin/controllers/new-page.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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');