aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_list.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/user_list.php')
-rw-r--r--admin/user_list.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/admin/user_list.php b/admin/user_list.php
index 23c467eb4..26a98ebaf 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -45,18 +45,16 @@ include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php');
if (isset($_POST['submit_add']))
{
- $errors = register_user($_POST['login'],
- $_POST['password'],
- $_POST['password'],
- '');
+ $page['errors'] = register_user($_POST['login'],
+ $_POST['password'],
+ $_POST['password'],
+ '');
}
// +-----------------------------------------------------------------------+
// | preferences form submission |
// +-----------------------------------------------------------------------+
-$errors = array();
-
if (isset($_POST['pref_submit']))
{
$collection = array();
@@ -193,7 +191,7 @@ $template->set_filenames(array('user_list'=>'admin/user_list.tpl'));
$base_url = add_session_id(PHPWG_ROOT_PATH.'admin.php?page=user_list');
-$conf['users_page'] = 20;
+$conf['users_page'] = 10;
if (isset($_GET['start']) and is_numeric($_GET['start']))
{