Fixed #424
This commit is contained in:
parent
6fec239937
commit
eef031c89f
|
@ -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) )
|
||||||
|
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue