diff options
Diffstat (limited to 'famlist.php')
| -rw-r--r-- | famlist.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/famlist.php b/famlist.php index 7a998527e7..47ebf9e504 100644 --- a/famlist.php +++ b/famlist.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 { |
