summaryrefslogtreecommitdiff
path: root/repo.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-09-22 12:09:54 +0000
committerfisharebest <fisharebest@gmail.com>2011-09-22 12:09:54 +0000
commit6a6350203ddfdf78520e4987fb6ab6219d2f3850 (patch)
treea1e37110bcfda801ff0fdb98a2688a8c03aa49f5 /repo.php
parent908a88606c4182a364743b096ed435f1394130d4 (diff)
downloadwebtrees-6a6350203ddfdf78520e4987fb6ab6219d2f3850.tar.gz
webtrees-6a6350203ddfdf78520e4987fb6ab6219d2f3850.tar.bz2
webtrees-6a6350203ddfdf78520e4987fb6ab6219d2f3850.zip
Add HTML escapes and directional markup when we CREATE the names of objects, rather than when we DISPLAY them. It is easier to do it in one place, not everywhere.
getFullName() already calls canDisplayName(), so no need to call it a second time.
Diffstat (limited to 'repo.php')
-rw-r--r--repo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo.php b/repo.php
index 64d388d062..77fb8ee37c 100644
--- a/repo.php
+++ b/repo.php
@@ -100,7 +100,7 @@ echo 'function showchanges() { window.location="', $controller->repository->getR
echo WT_JS_END;
echo '<div id="repo-details">';
-echo '<h2>', PrintReady(htmlspecialchars($controller->repository->getFullName())), '</h2>';
+echo '<h2>', $controller->repository->getFullName(), '</h2>';
echo '<div id="repo-tabs">
<ul>
<li><a href="#repo-edit"><span>', WT_I18N::translate('Details'), '</span></a></li>';