From 0dfc8512ef8a8e85cfc235cf48b9b2a31c54a24c Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 21 Mar 2013 08:57:39 +0000 Subject: [PATCH] issue #0001585 : Masquage du menu --- library/Scores/Menu.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/library/Scores/Menu.php b/library/Scores/Menu.php index 473ad3f39..563eb05a2 100644 --- a/library/Scores/Menu.php +++ b/library/Scores/Menu.php @@ -820,6 +820,13 @@ class Menu break; case 'evaluation': switch($action){ + case 'valorisation': + $user = new Scores_Utilisateur(); + if ($user->getIdClient()==1) { + return true + } + return false; + break; case 'indiscore': $siretSiege = substr($this->siret, 0,9); if (!empty($siretSiege) && intval($siretSiege)!=0 ){