diff options
| author | Rico Sonntag <mail@ricosonntag.de> | 2019-02-20 09:58:42 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2019-02-20 08:58:42 +0000 |
| commit | 819ac503bae4ccce521d61c95f5c5f006b2ebffa (patch) | |
| tree | 3ebccbb9e514856aca396bd63c24da18de874e5e /app/Fact.php | |
| parent | 8343293f2ed38c29580f5d0f954f80b1addf4121 (diff) | |
| download | webtrees-819ac503bae4ccce521d61c95f5c5f006b2ebffa.tar.gz webtrees-819ac503bae4ccce521d61c95f5c5f006b2ebffa.tar.bz2 webtrees-819ac503bae4ccce521d61c95f5c5f006b2ebffa.zip | |
Update Fact.php (#2246)
Fixes #2238
Diffstat (limited to 'app/Fact.php')
| -rw-r--r-- | app/Fact.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Fact.php b/app/Fact.php index 85fd1e4b83..3180a1b683 100644 --- a/app/Fact.php +++ b/app/Fact.php @@ -265,7 +265,7 @@ class Fact */ public function longitude(): float { - if (preg_match('/\n4 LATI (.+)/', $this->gedcom, $match)) { + if (preg_match('/\n4 LONG (.+)/', $this->gedcom, $match)) { $gedcom_service = new GedcomService(); return $gedcom_service->readLongitude($match[1]); |
