From 7561b6192c8db8a40b5e86f2efa5863ff904cc32 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 14 Mar 2005 10:48:59 +0000 Subject: [PATCH] Ajout debug --- htdocs/telephonie/stats/graph/gain.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/stats/graph/gain.class.php b/htdocs/telephonie/stats/graph/gain.class.php index 6a479b2e626..e3c37bf171a 100644 --- a/htdocs/telephonie/stats/graph/gain.class.php +++ b/htdocs/telephonie/stats/graph/gain.class.php @@ -127,7 +127,9 @@ class GraphGain extends GraphBrouzouf{ $row = $this->db->fetch_row($i); if ( $row[0] > 0) { - $this->total_gain = $this->total_gain - $row[0]; + print "(".$this->client.":".$this->total_gain.")"; + $this->total_gain = ($this->total_gain - $row[0]); + print "(".$this->client.":".$this->total_gain.")"; } $i++; }