From 56bb92af3a07c2a7f4b027617c3623ca15879437 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 10 Jan 2006 22:52:36 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20ann=E9e=20pour=20Janvier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/telephonie/stats/commerciaux/commercialca.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/telephonie/stats/commerciaux/commercialca.php b/htdocs/telephonie/stats/commerciaux/commercialca.php index 67caf399b6b..afeb15edb2e 100644 --- a/htdocs/telephonie/stats/commerciaux/commercialca.php +++ b/htdocs/telephonie/stats/commerciaux/commercialca.php @@ -31,6 +31,10 @@ llxHeader('','Telephonie - Statistiques - Commerciaux'); $h = 0; $year = strftime("%Y",time()); +if (strftime("%m",time()) == 1) +{ + $year = $year -1; +} $head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/commerciaux/index.php'; $head[$h][1] = "Global";