diff options
Diffstat (limited to 'app/Module/RecentChangesModule.php')
| -rw-r--r-- | app/Module/RecentChangesModule.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Module/RecentChangesModule.php b/app/Module/RecentChangesModule.php index 1ed44f57dc..c2aefe5360 100644 --- a/app/Module/RecentChangesModule.php +++ b/app/Module/RecentChangesModule.php @@ -230,7 +230,7 @@ class RecentChangesModule extends AbstractModule implements ModuleBlockInterface if ($timestamp !== '') { if ($show_user) { $html .= /* I18N: [a record was] Changed on <date/time> by <user> */ - I18N::translate('Changed on %1$s by %2$s', $timestamp, Filter::escapeHtml($record->lastChangeUser())); + I18N::translate('Changed on %1$s by %2$s', $timestamp, Html::escape($record->lastChangeUser())); } else { $html .= /* I18N: [a record was] Changed on <date/time> */ I18N::translate('Changed on %1$s', $timestamp); @@ -323,7 +323,7 @@ class RecentChangesModule extends AbstractModule implements ModuleBlockInterface break; } $html .= '</td>'; - $html .= '<td data-sort="' . Filter::escapeHtml($record->getSortName()) . '">'; + $html .= '<td data-sort="' . Html::escape($record->getSortName()) . '">'; $html .= '<a href="' . $record->getHtmlUrl() . '">' . $record->getFullName() . '</a>'; $addname = $record->getAddName(); if ($addname) { @@ -331,7 +331,7 @@ class RecentChangesModule extends AbstractModule implements ModuleBlockInterface } $html .= '</td>'; $html .= '<td data-sort="' . $record->lastChangeTimestamp(true) . '">' . $record->lastChangeTimestamp() . '</td>'; - $html .= '<td>' . Filter::escapeHtml($record->lastChangeUser()) . '</td>'; + $html .= '<td>' . Html::escape($record->lastChangeUser()) . '</td>'; $html .= '</tr>'; } |
