Skip to content

Commit

Permalink
Update fournisseur.facture.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy authored Nov 7, 2024
1 parent ff8193e commit 8621b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/fourn/class/fournisseur.facture.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1207,8 +1207,8 @@ public function update($user = null, $notrigger = 0)
if (empty($this->total_localtax2)) {
$this->total_localtax2 = 0;
}
if (empty($this->total_ttc)) {
$this->total_ttc = 0;
if (isset($this->total_ttc)) {
$this->total_ttc = (float) $this->total_ttc;
}
if (isset($this->statut)) {
$this->statut = (int) $this->statut;
Expand Down

0 comments on commit 8621b05

Please sign in to comment.