Skip to content

Commit b35c6b9

Browse files
committed
Merge commit 'refs/pull/1528/head' of https://github.com/magento/magento2 into prs
2 parents cb309d2 + 42f53f8 commit b35c6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Pdf/Total/DefaultTotal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function getFullTaxInfo()
145145
public function canDisplay()
146146
{
147147
$amount = $this->getAmount();
148-
return $this->getDisplayZero() || $amount != 0;
148+
return $this->getDisplayZero() === 'true' || $amount != 0;
149149
}
150150

151151
/**

0 commit comments

Comments
 (0)