Skip to content

Commit

Permalink
Certificate: Fix "MainBar" visibility
Browse files Browse the repository at this point in the history
(cherry picked from commit da22153)
  • Loading branch information
mjansenDatabay committed Jan 14, 2025
1 parent eed3b68 commit b92a16b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function getStaticSubItems(): array
->withVisibilityCallable(
static function (): bool {
return (
BasicAccessCheckClosuresSingleton::getInstance()->isUserLoggedIn() &&
BasicAccessCheckClosuresSingleton::getInstance()->isUserLoggedIn()() &&
(new ilCertificateActiveValidator())->validate()
);
}
Expand Down

0 comments on commit b92a16b

Please sign in to comment.