diff options
author | Steve Clay <steve@mrclay.org> | 2013-02-04 20:51:07 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-02-09 07:53:45 -0500 |
commit | 707df9db27cf2154910978427b9844448bcf931a (patch) | |
tree | 6ca8ba536758fe2f34ac6a55a18b7befa76bc74c /engine/lib/location.php | |
parent | 85e4c16f39a8b00b229644bcd175663541dfd51a (diff) | |
download | elgg-707df9db27cf2154910978427b9844448bcf931a.tar.gz elgg-707df9db27cf2154910978427b9844448bcf931a.tar.bz2 |
Small changes to remove static analysis noise and simplify flow
Diffstat (limited to 'engine/lib/location.php')
-rw-r--r-- | engine/lib/location.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/location.php b/engine/lib/location.php index 5b889509b..b319bb3bb 100644 --- a/engine/lib/location.php +++ b/engine/lib/location.php @@ -101,7 +101,7 @@ function elgg_get_entities_from_location(array $options = array()) { $long_min = $long - $long_distance; $long_max = $long + $long_distance; - $where = array(); + $wheres = array(); $wheres[] = "lat_name.string='geo:lat'"; $wheres[] = "lat_value.string >= $lat_min"; $wheres[] = "lat_value.string <= $lat_max"; |