diff --git a/app/code/core/Mage/Sales/Block/Order/Item/Renderer/Default.php b/app/code/core/Mage/Sales/Block/Order/Item/Renderer/Default.php index bde105066a7..7046555a6ce 100644 --- a/app/code/core/Mage/Sales/Block/Order/Item/Renderer/Default.php +++ b/app/code/core/Mage/Sales/Block/Order/Item/Renderer/Default.php @@ -182,7 +182,7 @@ public function canDisplayGiftmessage(): bool } /** @var Mage_GiftMessage_Helper_Message $helper */ $helper = $this->helper('giftmessage/message'); - return $helper->getIsMessagesAvailable('order_item', $this->getItem()->getOrderItem()) && $this->getItem()->getGiftMessageId(); + return $helper->getIsMessagesAvailable('order_item', $this->getOrderItem()) && $this->getItem()->getGiftMessageId(); } public function getGiftMessage(): ?Mage_GiftMessage_Model_Message