diff --git a/htdocs/telephonie/stats/distributeurs/index.php b/htdocs/telephonie/stats/distributeurs/index.php
index a15181a5003..8cc12318da8 100644
--- a/htdocs/telephonie/stats/distributeurs/index.php
+++ b/htdocs/telephonie/stats/distributeurs/index.php
@@ -94,7 +94,7 @@ print '
';
print '';
print '| Distributeur | Commercial | Prise d\'ordre |
';
-$sql = "SELECT sum(p.montant), d.nom, u.firstname, u.name";
+$sql = "SELECT sum(p.montant), d.nom, u.firstname, u.name, u.rowid";
$sql .= " FROM ".MAIN_DB_PREFIX."user as u";
$sql .= " , ".MAIN_DB_PREFIX."telephonie_distributeur as d";
$sql .= " , ".MAIN_DB_PREFIX."telephonie_contrat_priseordre as p";
@@ -116,14 +116,10 @@ if ($resql)
while ($i < $num)
{
$row = $db->fetch_row($i);
-
$var=!$var;
-
print "";
-
print '| '.$row[1].' | ';
-
- print ''.$row[2]." ".$row[3].' | ';
+ print ''.$row[2]." ".$row[3].' | ';
print ''.price($row[0]).' |
';
$i++;
}