From cab15ca58eaa159fe012b8cae0ecad70bb06ec6d Mon Sep 17 00:00:00 2001 From: MDW Date: Tue, 2 Sep 2025 22:50:15 +0200 Subject: [PATCH] Fix: Fix typo in user_modifcation_id (#35179) # Fix: Fix typo in user_modifcation_id Thes fixes the modification id initialisation. --- htdocs/compta/facture/class/facture.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index ce2ea7d144d..e8b5eab5c48 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -2736,7 +2736,7 @@ class Facture extends CommonInvoice if (!isset($this->user_creation_id) && isset($this->fk_user_author)) { $this->user_creation_id = $this->fk_user_author; } - if (!isset($this->user_modifcation_id) && !empty($user->id)) { + if (!isset($this->user_modification_id) && !empty($user->id)) { $this->user_modification_id = $user->id; } if (!isset($this->user_validation_id) && isset($this->fk_user_valid)) { @@ -4667,7 +4667,7 @@ class Facture extends CommonInvoice $rangmax = $this->line_max($fk_parent_line); $this->line->rang = $rangmax + 1; } - $apply_abs_price_on_credit_note=false; + $apply_abs_price_on_credit_note = false; if ($this->type == self::TYPE_CREDIT_NOTE && !getDolGlobalInt('FACTURE_ENABLE_NEGATIVE_LINES') && !getDolGlobalInt('INVOICE_KEEP_DISCOUNT_LINES_AS_IN_ORIGIN')) { $apply_abs_price_on_credit_note = true; }