mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user