diff options
Diffstat (limited to '')
-rw-r--r-- | admin/user_list.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/admin/user_list.php b/admin/user_list.php index ac88c4d60..d34ee5650 100644 --- a/admin/user_list.php +++ b/admin/user_list.php @@ -90,10 +90,15 @@ $template->assign( ) ); -// echo '<pre>'; print_r($users); echo '</pre>'; - $default_user = get_default_user_info(true); +$protected_users = array( + $user['id'], + $conf['guest_id'], + $conf['default_user_id'], + $conf['webmaster_id'], + ); + $template->assign( array( 'PWG_TOKEN' => get_pwg_token(), @@ -104,6 +109,8 @@ $template->assign( 'language_options' => get_languages(), 'language_selected' => get_default_language(), 'association_options' => $groups, + 'protected_users' => implode(',', array_unique($protected_users)), + 'guest_user' => $conf['guest_id'], ) ); |