From 300baf1921ab794c0955d28e1405383b5b35984b Mon Sep 17 00:00:00 2001 From: Freek Van der Herten Date: Tue, 27 Oct 2015 17:34:51 +0100 Subject: [PATCH] Update Navigation.php --- app/Services/Navigation/Navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ''; }