summaryrefslogtreecommitdiff
path: root/app/Module/ResearchTaskModule.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-07-11 11:52:56 +0100
committerGreg Roach <fisharebest@gmail.com>2017-07-11 11:53:09 +0100
commitcc5ab399cc3c8f78158c8e3027cb0ecf038648dc (patch)
tree54da92556607e9cae21cfbd440ed136b383b0b94 /app/Module/ResearchTaskModule.php
parent1c2ce4bb435dee3d5672951797a6a66711c25938 (diff)
downloadwebtrees-cc5ab399cc3c8f78158c8e3027cb0ecf038648dc.tar.gz
webtrees-cc5ab399cc3c8f78158c8e3027cb0ecf038648dc.tar.bz2
webtrees-cc5ab399cc3c8f78158c8e3027cb0ecf038648dc.zip
Prepare to remove class Filter
Diffstat (limited to 'app/Module/ResearchTaskModule.php')
-rw-r--r--app/Module/ResearchTaskModule.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Module/ResearchTaskModule.php b/app/Module/ResearchTaskModule.php
index 44254a721c..3c2634ee8f 100644
--- a/app/Module/ResearchTaskModule.php
+++ b/app/Module/ResearchTaskModule.php
@@ -23,6 +23,7 @@ use Fisharebest\Webtrees\Filter;
use Fisharebest\Webtrees\FontAwesome;
use Fisharebest\Webtrees\Functions\FunctionsEdit;
use Fisharebest\Webtrees\GedcomRecord;
+use Fisharebest\Webtrees\Html;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Theme;
@@ -103,7 +104,7 @@ class ResearchTaskModule extends AbstractModule implements ModuleBlockInterface
if ($user_name === Auth::user()->getUserName() || !$user_name && $show_unassigned || $user_name && $show_other) {
$content .= '<tr>';
$content .= '<td data-sort="' . $fact->getDate()->julianDay() . '">' . $fact->getDate()->display() . '</td>';
- $content .= '<td data-sort="' . Filter::escapeHtml($record->getSortName()) . '"><a href="' . $record->getHtmlUrl() . '">' . $record->getFullName() . '</a></td>';
+ $content .= '<td data-sort="' . Html::escape($record->getSortName()) . '"><a href="' . $record->getHtmlUrl() . '">' . $record->getFullName() . '</a></td>';
$content .= '<td>' . $user_name . '</td>';
$content .= '<td dir="auto">' . $fact->getValue() . '</td>';
$content .= '</tr>';