From dd28e95fa229c34de2decef36b3abe8f32c248a1 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville <rodolphe@quiedeville.org> Date: Wed, 8 Feb 2006 15:41:04 +0000 Subject: [PATCH] Ajout infos de prix dans le fetch --- htdocs/telephonie/adsl/ligneadsl.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/adsl/ligneadsl.class.php b/htdocs/telephonie/adsl/ligneadsl.class.php index 046bff5d62c..cf7220f8266 100644 --- a/htdocs/telephonie/adsl/ligneadsl.class.php +++ b/htdocs/telephonie/adsl/ligneadsl.class.php @@ -160,7 +160,7 @@ class LigneAdsl { function fetch($ligne, $id = 0) { $sql = "SELECT l.rowid, l.fk_client, l.fk_client_install, l.fk_client_facture, l.fk_fournisseur, l.numero_ligne, l.note, l.statut, l.fk_commercial"; - $sql .= ", l.ip, l.login, l.password"; + $sql .= ", l.ip, l.login, l.password, l.prix"; $sql .= " , t.intitule AS type"; $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_adsl_ligne as l"; $sql .= " , ".MAIN_DB_PREFIX."telephonie_adsl_type as t"; @@ -191,6 +191,7 @@ class LigneAdsl { $this->fournisseur_id = $obj->fk_fournisseur; $this->commercial_id = $obj->fk_commercial; $this->type = $obj->type; + $this->prix = $obj->prix; $this->statut = $obj->statut; $this->ip = $obj->ip; -- GitLab