When a page is refresh with an expired session still existing in the

database, the first page works -> corrected.


git-svn-id: http://piwigo.org/svn/trunk@90 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-09-12 22:59:42 +00:00
parent bf59f1f3e8
commit 866372df2f
+1 -1
View File
@@ -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;