diff --git a/app/code/Magento/Sales/Model/Order/Pdf/Total/DefaultTotal.php b/app/code/Magento/Sales/Model/Order/Pdf/Total/DefaultTotal.php index aef42991031bf..39c501d7ff084 100644 --- a/app/code/Magento/Sales/Model/Order/Pdf/Total/DefaultTotal.php +++ b/app/code/Magento/Sales/Model/Order/Pdf/Total/DefaultTotal.php @@ -145,7 +145,7 @@ public function getFullTaxInfo() public function canDisplay() { $amount = $this->getAmount(); - return $this->getDisplayZero() || $amount != 0; + return $this->getDisplayZero() === 'true' || $amount != 0; } /**