Fix "PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated"

Change-Id: Ic5eff58389a66f56bd2a9585c476dcde5a93f4d1
(cherry picked from commit f1feb6c456)
This commit is contained in:
Paladox 2023-12-15 22:39:17 +00:00
parent 415ac81333
commit 55bcda6071

View file

@ -188,7 +188,7 @@ class AbuseLogPager extends ReverseChronologicalPager {
}
} else {
$escaped_comments = Sanitizer::escapeHtmlAllowEntities(
$row->af_public_comments );
$row->af_public_comments ?? '' );
$filter_hidden = $row->af_hidden;
}