This commit is contained in:
Diego 2017-05-05 20:14:27 +02:00
parent 6fec239937
commit eef031c89f
2 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ function addUser($args)
$tmp['username'] = $args['new_username']; $tmp['username'] = $args['new_username'];
$tmp['password'] = $args['new_password']; $tmp['password'] = $args['new_password'];
$tmp['role'] = $args['role']; $tmp['role'] = $args['role'];
$tmp['email'] = $args['email'];
// Add the user to the database // Add the user to the database
if( $dbUsers->add($tmp) ) if( $dbUsers->add($tmp) )

View File

@ -19,7 +19,7 @@ function addPage($args)
if($key) if($key)
{ {
// Re index categories // Re index categories
reIndexCategoriesPages(); //reIndexCategoriesPages();
// Call the plugins after page created. // Call the plugins after page created.
Theme::plugins('afterPageCreate'); Theme::plugins('afterPageCreate');