mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-11 16:48:54 +00:00
fix(core): 🐛 only pass string into str replace
This commit is contained in:
parent
1827a1b5c9
commit
84a65a303b
|
@ -70,7 +70,7 @@ class CitizenComponentUserInfo implements CitizenComponent {
|
|||
}
|
||||
|
||||
$label = $this->localizer->msg( 'usereditcount' )->numParams( $edits );
|
||||
$label = str_replace( $edits, '', $label );
|
||||
$label = str_replace( (string)$edits, '', $label );
|
||||
|
||||
return [
|
||||
'count' => number_format( $edits, 0 ),
|
||||
|
|
Loading…
Reference in a new issue