diff options
| author | Greg Roach <fisharebest@gmail.com> | 2013-09-07 08:35:26 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-09-07 08:35:26 +0100 |
| commit | 26f577d4fea5a7e28f9cfb3c34af747a05f22553 (patch) | |
| tree | 6381cd12bcfa93521265d137e1703133f042563a /library | |
| parent | 39564b720755d4f121f7c3d4ae5834ba35947732 (diff) | |
| download | webtrees-26f577d4fea5a7e28f9cfb3c34af747a05f22553.tar.gz webtrees-26f577d4fea5a7e28f9cfb3c34af747a05f22553.tar.bz2 webtrees-26f577d4fea5a7e28f9cfb3c34af747a05f22553.zip | |
Fix typo
Diffstat (limited to 'library')
| -rw-r--r-- | library/WT/GedcomRecord.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/GedcomRecord.php b/library/WT/GedcomRecord.php index 8b8ff79d8c..f540cddd79 100644 --- a/library/WT/GedcomRecord.php +++ b/library/WT/GedcomRecord.php @@ -621,7 +621,7 @@ class WT_GedcomRecord { public function format_first_major_fact($facts, $style) { foreach ($this->getFacts($facts, true) as $event) { // Only display if it has a date or place (or both) - if ($event->getDate()->isOK() || !$event->getPlace()->isEmpty) { + if ($event->getDate()->isOK() || !$event->getPlace()->isEmpty()) { switch ($style) { case 1: return '<br><em>'.$event->getLabel().' '.format_fact_date($event, $this, false, false).' '.format_fact_place($event).'</em>'; |
