diff --git a/vendor/magento/module-negotiable-quote/Plugin/Sales/Block/Order/Info/CreationInfoPlugin.php b/vendor/magento/module-negotiable-quote/Plugin/Sales/Block/Order/Info/CreationInfoPlugin.php index d68b3164e030..5e997fcb3d80 100644 --- a/vendor/magento/module-negotiable-quote/Plugin/Sales/Block/Order/Info/CreationInfoPlugin.php +++ b/vendor/magento/module-negotiable-quote/Plugin/Sales/Block/Order/Info/CreationInfoPlugin.php @@ -73,7 +73,7 @@ public function afterGetCreationInfo(CreationInfo $subject, string $result): str if ($orderId) { $order = $this->orderRepository->get($orderId); - if ($order && $order->getEntityId() && $order->getCustomerId() === $customerId) { + if ($order && $order->getEntityId() && (int)$order->getCustomerId() === $customerId) { return $result; } }