From d80aedd1d468e7a7a4aecf97be3e1a52115d3bd5 Mon Sep 17 00:00:00 2001 From: Aki Ojalehto Date: Mon, 15 Jan 2018 23:22:56 +0200 Subject: [PATCH] Fix a typo in variable name --- .../Catalog/Model/ResourceModel/Product/Link/SaveHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/SaveHandler.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/SaveHandler.php index 5dc8a89465255..d1372feb77796 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/SaveHandler.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/SaveHandler.php @@ -97,8 +97,8 @@ public function execute($entityType, $entity) try { $linkTypesToId = $this->linkTypeProvider->getLinkTypes(); - $prodyctHydrator = $this->metadataPool->getHydrator(ProductInterface::class); - $productData = $prodyctHydrator->extract($product); + $productHydrator = $this->metadataPool->getHydrator(ProductInterface::class); + $productData = $productHydrator->extract($product); $this->linkResource->saveProductLinks( $productData[$this->metadataPool->getMetadata(ProductInterface::class)->getLinkField()], $links,