Skip to content

Commit aabfa7b

Browse files
MAGETWO-91501: Invoice and Shipping PDF does not show Size 0 for child product
- Add check for shipment label value
1 parent 9c9a569 commit aabfa7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Pdf/Items/Shipment/DefaultShipment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function draw()
8989
];
9090

9191
// draw options value
92-
if ($option['value']) {
92+
if ($option['value'] !== null) {
9393
$printValue = isset(
9494
$option['print_value']
9595
) ? $option['print_value'] : $this->filterManager->stripTags(

0 commit comments

Comments
 (0)