diff options
| author | Greg Roach <fisharebest@gmail.com> | 2017-07-11 11:52:56 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2017-07-11 11:53:09 +0100 |
| commit | cc5ab399cc3c8f78158c8e3027cb0ecf038648dc (patch) | |
| tree | 54da92556607e9cae21cfbd440ed136b383b0b94 /app/Module/IndividualSidebarModule.php | |
| parent | 1c2ce4bb435dee3d5672951797a6a66711c25938 (diff) | |
| download | webtrees-cc5ab399cc3c8f78158c8e3027cb0ecf038648dc.tar.gz webtrees-cc5ab399cc3c8f78158c8e3027cb0ecf038648dc.tar.bz2 webtrees-cc5ab399cc3c8f78158c8e3027cb0ecf038648dc.zip | |
Prepare to remove class Filter
Diffstat (limited to 'app/Module/IndividualSidebarModule.php')
| -rw-r--r-- | app/Module/IndividualSidebarModule.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module/IndividualSidebarModule.php b/app/Module/IndividualSidebarModule.php index a74e145176..46e3d9f60c 100644 --- a/app/Module/IndividualSidebarModule.php +++ b/app/Module/IndividualSidebarModule.php @@ -185,7 +185,7 @@ class IndividualSidebarModule extends AbstractModule implements ModuleSidebarInt $surnames = QueryName::surnames($tree, '', $alpha, true, false); $out = '<ul>'; foreach (array_keys($surnames) as $surname) { - $out .= '<li class="sb_indi_surname_li"><a href="#" data-surname="' . Filter::escapeHtml($surname) . '" data-alpha="' . Filter::escapeHtml($alpha) . '" class="sb_indi_surname">' . Filter::escapeHtml($surname) . '</a>'; + $out .= '<li class="sb_indi_surname_li"><a href="#" data-surname="' . Html::escape($surname) . '" data-alpha="' . Html::escape($alpha) . '" class="sb_indi_surname">' . Html::escape($surname) . '</a>'; $out .= '<div class="name_tree_div"></div>'; $out .= '</li>'; } |
