summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiqrogroove <1371835+miqrogroove@users.noreply.github.com>2020-06-24 10:25:39 -0400
committerGitHub <noreply@github.com>2020-06-24 15:25:39 +0100
commit554233cfdad36a2d3e6bc7827fc5ff2acedc518a (patch)
treea562d100043d8e68d65c75bd1801d684faf7bfed
parentd7e1975906314d2ca38a19e6ed9bce59d03ae181 (diff)
downloadwebtrees-554233cfdad36a2d3e6bc7827fc5ff2acedc518a.tar.gz
webtrees-554233cfdad36a2d3e6bc7827fc5ff2acedc518a.tar.bz2
webtrees-554233cfdad36a2d3e6bc7827fc5ff2acedc518a.zip
Critical: Wrong Longitude Value Loaded in Editor (#3377)
-rw-r--r--app/Http/Controllers/Admin/LocationController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/Admin/LocationController.php b/app/Http/Controllers/Admin/LocationController.php
index 7bddfd20e8..a336739a84 100644
--- a/app/Http/Controllers/Admin/LocationController.php
+++ b/app/Http/Controllers/Admin/LocationController.php
@@ -324,7 +324,7 @@ class LocationController extends AbstractAdminController
$breadcrumbs[] = I18N::translate('Edit');
$title .= ' — ' . I18N::translate('Edit');
$latitude = $location->latitude();
- $longitude = $location->latitude();
+ $longitude = $location->longitude();
$map_bounds = $location->boundingRectangle();
$marker_position = [$location->latitude(), $location->longitude()];
}