Merge pull request #32422 from atm-irvine/fix_sql_error_subtype

fix(facture): when updating, subtype should not be trimmed as it is a…
This commit is contained in:
Laurent Destailleur 2024-12-19 17:32:39 +01:00 committed by GitHub
commit 0ec6a240bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2451,9 +2451,6 @@ class Facture extends CommonInvoice
if (empty($this->type)) {
$this->type = self::TYPE_STANDARD;
}
if (isset($this->subtype)) {
$this->subtype = trim($this->subtype);
}
if (isset($this->ref)) {
$this->ref = trim($this->ref);
}