Skip to content

Commit

Permalink
feature 3009: "!= NULL" is invalid, use "IS NOT NULL" instead
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@25816 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
mistic100 committed Dec 7, 2013
1 parent 4dc1d52 commit 94e948b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/db/139-database.php
Expand Up @@ -53,8 +53,8 @@
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);
}
Expand Down

0 comments on commit 94e948b

Please sign in to comment.