Skip to content

Commit 05131e4

Browse files
fix: resolve error for small package BE creation (#497)
1 parent 9e07ef0 commit 05131e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/ConsignmentEncode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public static function encodeExtraOptions(array $consignmentEncoded, AbstractCon
133133
$consignmentEncoded['options']['insurance']['amount'] = self::MAX_INSURANCE_PACKETS_ROW;
134134
}
135135

136-
if (AbstractConsignment::CC_NL === $consignment->getCountry()) {
136+
if (in_array($consignment->getCountry(), [AbstractConsignment::CC_NL, AbstractConsignment::CC_BE])) {
137137
$consignmentEncoded['options']['tracked'] = 0;
138138
} else {
139139
$consignmentEncoded['options']['tracked'] = 1;

0 commit comments

Comments
 (0)