aboutsummaryrefslogtreecommitdiffstats
path: root/include/user.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/user.inc.php')
-rw-r--r--include/user.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/user.inc.php b/include/user.inc.php
index 65222f3f6..05b91d738 100644
--- a/include/user.inc.php
+++ b/include/user.inc.php
@@ -35,8 +35,7 @@ $infos = array( 'id', 'username', 'mail_address', 'nb_image_line',
'maxheight', 'expand', 'show_nb_comments', 'recent_period',
'template', 'forbidden_categories' );
-$query_user = 'SELECT '.implode( ',', $infos );
-$query_user.= ' FROM '.USERS_TABLE;
+$query_user = 'SELECT * FROM '.USERS_TABLE;
$query_done = false;
$user['is_the_guest'] = false;