From 90bf6b819a7abd7bf9b17c12287d1edac8de67a9 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 6 Sep 2005 15:26:49 +0000 Subject: [PATCH] Modif permissions --- htdocs/telephonie/ligne/stat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/telephonie/ligne/stat.php b/htdocs/telephonie/ligne/stat.php index d114211c091..200149319c3 100644 --- a/htdocs/telephonie/ligne/stat.php +++ b/htdocs/telephonie/ligne/stat.php @@ -136,7 +136,7 @@ if ($_GET["id"] or $_GET["numero"]) print ''; $file = $img_root.$ligne->id."/graphgain.png"; - if (file_exists($file)) + if (file_exists($file) && $user->rights->telephonie->ligne->gain) { print 'CA Mensuel'; }