aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install/db/139-database.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/db/139-database.php b/install/db/139-database.php
index a1d6e8bb5..4d266b6ef 100644
--- a/install/db/139-database.php
+++ b/install/db/139-database.php
@@ -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);
}