mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Fix "PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated"
Change-Id: Ic5eff58389a66f56bd2a9585c476dcde5a93f4d1
This commit is contained in:
parent
61fd5db1e9
commit
f1feb6c456
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue