Fix: parametre manquant

This commit is contained in:
Regis Houssin 2007-07-13 12:23:07 +00:00
parent ab96d0a971
commit 7e6894734d

View File

@ -359,7 +359,7 @@ class Contrat extends CommonObject
{ {
$objp = $this->db->fetch_object($result); $objp = $this->db->fetch_object($result);
$ligne = new ContratLigne(); $ligne = new ContratLigne($db);
$ligne->id = $objp->rowid; $ligne->id = $objp->rowid;
$ligne->desc = $objp->description; // Description ligne $ligne->desc = $objp->description; // Description ligne
$ligne->qty = $objp->qty; $ligne->qty = $objp->qty;