diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-01-28 23:21:11 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-01-28 23:21:11 +0000 |
| commit | 29e68993924504068206f3e7631d17de21b85681 (patch) | |
| tree | c4329af184e351e627a1ac0fffc8152444d07a01 /resources/views/modules/todays_events/list.phtml | |
| parent | 97350b3f4dc430da4e083428172d1375a1d89f52 (diff) | |
| download | webtrees-29e68993924504068206f3e7631d17de21b85681.tar.gz webtrees-29e68993924504068206f3e7631d17de21b85681.tar.bz2 webtrees-29e68993924504068206f3e7631d17de21b85681.zip | |
Fix: #2151 - Update views to match updated Place class
Diffstat (limited to 'resources/views/modules/todays_events/list.phtml')
| -rw-r--r-- | resources/views/modules/todays_events/list.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/views/modules/todays_events/list.phtml b/resources/views/modules/todays_events/list.phtml index 2926991a3e..75017d06f9 100644 --- a/resources/views/modules/todays_events/list.phtml +++ b/resources/views/modules/todays_events/list.phtml @@ -12,7 +12,7 @@ <div class="indent"> <?= $fact->label() . ' — ' . $fact->date()->display(true); ?> <?= ' (' . I18N::timeAgo($fact->anniv * 365 * 24 * 60 * 60) . ')'; ?> - <?php if (!$fact->place()->isEmpty()) : ?> + <?php if ($fact->place()->gedcomName() !== '') : ?> <?= ' — <a href="' . e($fact->place()->url()) . '">' . $fact->place()->fullName() . '</a>'; ?> <?php endif ?> </div> |
