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 e33809430..a640ec4eb 100644
--- a/include/user.inc.php
+++ b/include/user.inc.php
@@ -29,7 +29,7 @@ $infos = array( 'id', 'username', 'mail_address', 'nb_image_line',
$query_user = 'SELECT ';
foreach ( $infos as $i => $info ) {
- if ( $i > 0 ) $query_user.= ',';
+ if ( $i > 0 ) $query_user.= ', ';
$query_user.= $info;
}
$query_user.= ' FROM '.PREFIX_TABLE.'users';
@@ -97,7 +97,6 @@ if ( !$query_done )
$user['is_the_guest'] = true;
}
$query_user .= ';';
-
$row = mysql_fetch_array( mysql_query( $query_user ) );
// affectation of each value retrieved in the users table into a variable