Bug 42010: (RM follow-up) Tidy that was missed during push

This commit is contained in:
Martin Renvoize 2026-03-26 09:35:48 +01:00
parent b0df04264e
commit 67adbce656
No known key found for this signature in database
GPG Key ID: 2D86E0EAEC83711B
1 changed files with 2 additions and 1 deletions

View File

@ -302,7 +302,8 @@ sub beginning_of_message {
my $purchase_order_number = shift;
# Use purchase order number if available, otherwise use basketno
my $document_message_no = $purchase_order_number
my $document_message_no =
$purchase_order_number
? encode_text($purchase_order_number)
: sprintf '%011d', $basketno;