diff --git a/ext/user/main.php b/ext/user/main.php index 4e661b428..e836e06aa 100644 --- a/ext/user/main.php +++ b/ext/user/main.php @@ -166,7 +166,7 @@ public function onPageRequest(PageRequestEvent $event) if ($user->can(Permissions::VIEW_HELLBANNED)) { $page->add_html_header(""); - } else if(!$user->can(Permissions::HELLBANNED)) { + } elseif(!$user->can(Permissions::HELLBANNED)) { $page->add_html_header(""); }