From b00e11b57e2755d1adcc0cdfa5152a3acd148ca9 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 18 Feb 2005 13:46:19 +0000 Subject: [PATCH] On ne compte en fait que les lignes actives --- htdocs/telephonie/stats/clients/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/telephonie/stats/clients/index.php b/htdocs/telephonie/stats/clients/index.php index 0b4154a21f6..8efe164aa56 100644 --- a/htdocs/telephonie/stats/clients/index.php +++ b/htdocs/telephonie/stats/clients/index.php @@ -54,7 +54,7 @@ print "\n"; $sql = "SELECT distinct l.fk_client_comm "; $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne as l"; -$sql .= " WHERE l.statut <> 7"; +$sql .= " WHERE statut = 3"; if ($db->query($sql)) { @@ -79,7 +79,7 @@ else $sql = "SELECT count(*) "; $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne as l"; -$sql .= " WHERE l.statut <> 7"; +$sql .= " WHERE statut = 3"; if ($db->query($sql)) {