Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Jan 6, 2024
1 parent b5ad2a6 commit 02da924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/user/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function onPageRequest(PageRequestEvent $event)

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>");
}

Expand Down

0 comments on commit 02da924

Please sign in to comment.