Fix 500 error while viewing a punishment

This commit is contained in:
Raúl 2022-05-07 12:27:17 +00:00 committed by Ruan
parent 4a3eb465c0
commit 8ff0368126

View File

@ -110,9 +110,9 @@ class MuteInfo extends Info {
return $array;
}
function badge($badgeClasses, $name) {
function badge($name) {
if ($name === "ipban") $name = "ipmute";
return parent::badge($badgeClasses, $name);
return parent::badge($name);
}
}