summaryrefslogtreecommitdiff
path: root/resources/views/modules/todays_events/list.phtml
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-11-23 15:05:46 +0000
committerGreg Roach <fisharebest@webtrees.net>2018-11-23 15:05:46 +0000
commite8777cb54c4a8a584bc539048a53b1e8bf4907ee (patch)
tree953f0c5ccc378c973423a0fd825a2158bea928d8 /resources/views/modules/todays_events/list.phtml
parentd78221376a51eefe1df8bc21415003444c7fd589 (diff)
downloadwebtrees-e8777cb54c4a8a584bc539048a53b1e8bf4907ee.tar.gz
webtrees-e8777cb54c4a8a584bc539048a53b1e8bf4907ee.tar.bz2
webtrees-e8777cb54c4a8a584bc539048a53b1e8bf4907ee.zip
Fix: #2039 - double-escaping place URLs
Diffstat (limited to 'resources/views/modules/todays_events/list.phtml')
-rw-r--r--resources/views/modules/todays_events/list.phtml2
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 770f4f3d1b..a3796f2450 100644
--- a/resources/views/modules/todays_events/list.phtml
+++ b/resources/views/modules/todays_events/list.phtml
@@ -13,7 +13,7 @@
<?= $fact->label() . ' — ' . $fact->date()->display(true); ?>
<?= ' (' . I18N::timeAgo($fact->anniv * 365 * 24 * 60 * 60) . ')'; ?>
<?php if (!$fact->place()->isEmpty()) : ?>
- <?= ' — <a href="' . $fact->place()->getURL() . '">' . $fact->place()->getFullName() . '</a>'; ?>
+ <?= ' — <a href="' . e($fact->place()->url()) . '">' . $fact->place()->getFullName() . '</a>'; ?>
<?php endif ?>
</div>
<?php endforeach ?>