summaryrefslogtreecommitdiff
path: root/indilist.php
diff options
context:
space:
mode:
Diffstat (limited to 'indilist.php')
-rw-r--r--indilist.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/indilist.php b/indilist.php
index 5ffacd2d47..2a6d8e998a 100644
--- a/indilist.php
+++ b/indilist.php
@@ -57,7 +57,7 @@ if ($show_all === 'yes') {
} elseif ($falpha) {
$alpha = '';
$surname = '';
- $legend = I18N::translate('All') . ', ' . Filter::escapeHtml($falpha) . '…';
+ $legend = I18N::translate('All') . ', ' . Html::escape($falpha) . '…';
$url = '?show_all=yes&ged=' . $controller->tree()->getNameUrl();
$show = 'indi';
} else {
@@ -86,7 +86,7 @@ if ($show_all === 'yes') {
$url .= '&falpha=' . rawurlencode($falpha) . '&ged=' . $controller->tree()->getNameUrl();
break;
default:
- $legend .= ', ' . Filter::escapeHtml($falpha) . '…';
+ $legend .= ', ' . Html::escape($falpha) . '…';
$url .= '&falpha=' . rawurlencode($falpha) . '&ged=' . $controller->tree()->getNameUrl();
break;
}
@@ -103,7 +103,7 @@ if ($show_all === 'yes') {
$show = 'indi'; // SURN list makes no sense here
} elseif ($alpha) {
$show_all = 'no';
- $legend = Filter::escapeHtml($alpha) . '…';
+ $legend = Html::escape($alpha) . '…';
$url = '?alpha=' . rawurlencode($alpha) . '&ged=' . $controller->tree()->getNameUrl();
$show = Filter::get('show', 'surn|indi', 'surn');
} else {