From 77ac218b2ed8eae19bccd25b503464af90d350f3 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 5 Dec 2005 09:30:35 +0000 Subject: [PATCH] Bugfix --- htdocs/telephonie/script/commande_presel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/telephonie/script/commande_presel.php b/htdocs/telephonie/script/commande_presel.php index b3d9126e9e5..2466d557f90 100644 --- a/htdocs/telephonie/script/commande_presel.php +++ b/htdocs/telephonie/script/commande_presel.php @@ -71,7 +71,7 @@ $sql .= " WHERE l.fk_soc = s.idp AND l.fk_fournisseur = f.rowid"; $sql .= " AND f.rowid = 4 AND l.statut = 9"; if ($ligne > 0) { - $sql .= " AND l.numero ='".$ligne."'"; + $sql .= " AND l.ligne='".$ligne."'"; } $sql .= " ORDER BY l.rowid DESC"; $resql = $db->query($sql);