mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
feature 3009: "!= NULL" is invalid, use "IS NOT NULL" instead
git-svn-id: http://piwigo.org/svn/trunk@25816 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -53,8 +53,8 @@ if (pwg_db_num_rows(pwg_query($query)))
|
||||
UPDATE '. IMAGES_TABLE .'
|
||||
SET latitude = lat,
|
||||
longitude = lon
|
||||
WHERE lat != NULL
|
||||
AND lon != NULL
|
||||
WHERE lat IS NOT NULL
|
||||
AND lon IS NOT NULL
|
||||
;';
|
||||
pwg_query($query);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user