We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f38e2d commit bd51f4dCopy full SHA for bd51f4d
app/code/Magento/Bundle/Model/Product/Type.php
@@ -315,7 +315,7 @@ public function getParentIdsByChild($childId)
315
return $this->_bundleSelection->getParentIdsByChild($childId);
316
}
317
318
- $cacheKey = is_array($childId) ? implode('-', $childId) : $childId;
+ $cacheKey = is_array($childId) ? array_shift($childId) : $childId;
319
if (!isset($this->cacheParentIdsByChild[$cacheKey])) {
320
$this->cacheParentIdsByChild[$cacheKey] = $this->_bundleSelection->getParentIdsByChild($childId);
321
0 commit comments