Skip to content

Commit 9a42540

Browse files
committed
MAGETWO-55038: Add CategoryProductLinkInterface as Extension attributes to ProductInterface entity
1 parent e8e98cc commit 9a42540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/CategoryLink.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function saveCategoryLinks(ProductInterface $product, array $categoryLink
7878
$insertUpdate = $this->processCategoryLinks($categoryLinks, $oldCategoryLinks);
7979
$deleteUpdate = $this->processCategoryLinks($oldCategoryLinks, $categoryLinks);
8080

81-
list($delete, $insert) = $this->analyseUndatedLinks($deleteUpdate, $insertUpdate);
81+
list($delete, $insert) = $this->analyseUpdatedLinks($deleteUpdate, $insertUpdate);
8282

8383
return array_merge(
8484
$this->updateCategoryLinks($product, $insert),
@@ -216,7 +216,7 @@ private function verifyCategoryLinks(array $links)
216216
* @param array $insertUpdate
217217
* @return array
218218
*/
219-
private function analyseUndatedLinks($deleteUpdate, $insertUpdate)
219+
private function analyseUpdatedLinks($deleteUpdate, $insertUpdate)
220220
{
221221
$delete = $deleteUpdate['changed'] ? : [];
222222
$insert = $insertUpdate['changed'] ? : [];

0 commit comments

Comments
 (0)