mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-28 04:09:56 +03: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:
parent
4dc1d52afb
commit
94e948b2ac
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue