mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
-bug 308 fixed: problem when updating session
git-svn-id: http://piwigo.org/svn/trunk@1164 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -165,7 +165,7 @@ UPDATE '.SESSIONS_TABLE.'
|
||||
WHERE id = \''.$session_id.'\'
|
||||
;';
|
||||
pwg_query($query);
|
||||
if ( mysql_affected_rows()==0 )
|
||||
if ( mysql_affected_rows()==-1 )
|
||||
{
|
||||
$query = '
|
||||
INSERT INTO '.SESSIONS_TABLE.'
|
||||
|
||||
Reference in New Issue
Block a user