aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;