diff --git a/htdocs/telephonie/stats/ProcessGraphLignes.class.php b/htdocs/telephonie/stats/ProcessGraphLignes.class.php index aba2dfb136bfd5188524e58eedaa62c984fe86c7..bf7a2468d94deda8c91da2e877ab5f0096ca3712 100644 --- a/htdocs/telephonie/stats/ProcessGraphLignes.class.php +++ b/htdocs/telephonie/stats/ProcessGraphLignes.class.php @@ -71,6 +71,7 @@ class ProcessGraphLignes $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne as l"; $sql .= " WHERE l.rowid >= ".$min; $sql .= " AND l.rowid < ".$max; + $sql .= " ORDER BY l.rowid ASC"; if ($this->db->query($sql)) {