This commit is contained in:
Shish 2024-01-06 21:28:06 +00:00
parent b5ad2a6bab
commit 02da92403a

View file

@ -166,7 +166,7 @@ class UserPage extends Extension
if ($user->can(Permissions::VIEW_HELLBANNED)) {
$page->add_html_header("<style>DIV.hb, TR.hb TD {border: 1px solid red !important;}</style>");
} else if(!$user->can(Permissions::HELLBANNED)) {
} elseif(!$user->can(Permissions::HELLBANNED)) {
$page->add_html_header("<style>.hb {display: none !important;}</style>");
}