summaryrefslogtreecommitdiff
path: root/app/Fact.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Fact.php')
-rw-r--r--app/Fact.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Fact.php b/app/Fact.php
index 537c8b7e22..7bb5eba9e5 100644
--- a/app/Fact.php
+++ b/app/Fact.php
@@ -526,8 +526,8 @@ class Fact
}
}
// Fact place
- if (!$this->place()->isEmpty()) {
- $attributes[] = $this->place()->getShortName();
+ if ($this->place()->gedcomName() <> '') {
+ $attributes[] = $this->place()->shortName();
}
}