Skip to content

Commit

Permalink
restore line
Browse files Browse the repository at this point in the history
  • Loading branch information
sofia-doofinder committed Dec 18, 2024
1 parent f8c6286 commit 67bae4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Observer/Product/AbstractChangedProductObserver.php
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ public function execute(Observer $observer)
}

if ($product->getStore()->getId() == 0 ||
$operationType == ChangedItemInterface::OPERATION_TYPE_DELETE
$this->getOperationType() == ChangedItemInterface::OPERATION_TYPE_DELETE
) {
foreach ($this->storeConfig->getAllStores() as $store) {
$this->registerChangedItemStore($product, (int)$store->getId());

0 comments on commit 67bae4e

Please sign in to comment.