Skip to content

Commit

Permalink
Fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 10, 2025
1 parent 8703cea commit e9a3926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/commande/class/commande.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1762,7 +1762,7 @@ public function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocalt
}

$this->db->commit();
return $line->id;
return $this->line->id;
} else {
$this->db->rollback();
return -1;
Expand Down

0 comments on commit e9a3926

Please sign in to comment.