Skip to content

Commit eba06b0

Browse files
committed
MAGETWO-51969: Pull request preparation
1 parent a71f259 commit eba06b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Downloadable/Model/Link/SaveHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function execute($entityType, $entity, $arguments = [])
4444
$oldLinks = $this->linkRepository->getList($entity->getSku());
4545
foreach ($links as $link) {
4646
if ($link->getId()) {
47-
$updatedLinks[$link->getId()] = $link->getId();
47+
$updatedLinks[$link->getId()] = true;
4848
}
4949
$this->linkRepository->save($entity->getSku(), $link, !(bool)$entity->getStoreId());
5050
}

0 commit comments

Comments
 (0)