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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/user.inc.php b/include/user.inc.php
index 8fc399560..a91a4b61b 100644
--- a/include/user.inc.php
+++ b/include/user.inc.php
@@ -77,7 +77,7 @@ if ( isset( $session_id )
$delete_query.= ';';
mysql_query( $delete_query );
}
- if ( $_SERVER['REMOTE_ADDR'] == $row['ip'] )
+ else if ( $_SERVER['REMOTE_ADDR'] == $row['ip'] )
{
$query_user .= ' WHERE id = '.$row['user_id'];
$query_done = true;