projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c93790
)
Fixed problems with NearMe getting bad locations from lat/lon search
develop
author
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 24 Oct 2019 20:50:18 +0000
(16:50 -0400)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 24 Oct 2019 20:50:18 +0000
(16:50 -0400)
classes/eventDataByLatLon.php
patch
|
blob
|
history
diff --git
a/classes/eventDataByLatLon.php
b/classes/eventDataByLatLon.php
index
9fddd53
..
fe37d09
100644
(file)
--- a/
classes/eventDataByLatLon.php
+++ b/
classes/eventDataByLatLon.php
@@
-157,6
+157,13
@@
class GlmMembersFront_events_eventDataByLatLon extends GlmDataEvents
$latLonWhereForEventLoc .= ')';
$latLonWhereForMembLoc .= ')';
+ } else {
+ $latLonWhereForEventLoc = "
+ AND L.lat != 0 and L.lon != 0
+ ";
+ $latLonWhereForMembLoc = "
+ AND I.lat != 0 and I.lon != 0
+ ";
}
$textWhere = '';