Fixes an error by initializing ->line in the insert_discount method. (#28407)
* Fixes an error by initializing ->line in the insert_discount method. * Update propal.class.php --------- Co-authored-by: David IGREJA <david@siladel.fr> Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
af3761000a
commit
6876f9fcc3
1 changed files with 1 additions and 1 deletions
|
|
@ -514,7 +514,7 @@ class Propal extends CommonObject
|
|||
|
||||
$line = new PropaleLigne($this->db);
|
||||
|
||||
$this->line->context = $this->context;
|
||||
$line->context = $this->context;
|
||||
|
||||
$line->fk_propal = $this->id;
|
||||
$line->fk_remise_except = $remise->id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue