aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r--include/functions_user.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index b669a61bc..41321a587 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -454,7 +454,7 @@ function create_user_infos($user_id)
$insert =
array(
'user_id' => $user_id,
- 'status' => 'guest',
+ 'status' => $user_id == $conf['webmaster_id'] ? 'admin' : 'guest',
'template' => $conf['default_template'],
'nb_image_line' => $conf['nb_image_line'],
'nb_line_page' => $conf['nb_line_page'],