Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(facture): when updating, subtype should not be trimmed as it is a… #547

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ChangeLog_Sigrenea.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Backport
- BACKPORT STD #32422 : Removed trim from subtype update facture
4 changes: 1 addition & 3 deletions htdocs/compta/facture/class/facture.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2453,9 +2453,7 @@ public function update(User $user, $notrigger = 0)
if (empty($this->type)) {
$this->type = self::TYPE_STANDARD;
}
if (isset($this->subtype)) {
$this->subtype = trim($this->subtype);
}
// BACKPORT STD #32422 : Removed trim of subtype
if (isset($this->ref)) {
$this->ref = trim($this->ref);
}
Expand Down
Loading