diff --git a/app/Services/Navigation/Navigation.php b/app/Services/Navigation/Navigation.php index 51d63047..7e6ed05c 100644 --- a/app/Services/Navigation/Navigation.php +++ b/app/Services/Navigation/Navigation.php @@ -121,7 +121,7 @@ public function getBackUserMenu() public function getBackUserRoleMenu() { - if (count(UserRole::values() == 1)) { + if (count(UserRole::values()) == 1) { return ''; }