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'; }