Skip to content

Commit dfe1cce

Browse files
author
Oleksii Korshenko
authored
MAGETWO-66404: Changed name of dispatched object in delete event #8445
2 parents 2613378 + 2bc7a6c commit dfe1cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ public function delete($object)
10221022
$this->getEntityManager()->delete($object);
10231023
$this->_eventManager->dispatch(
10241024
'catalog_category_delete_after_done',
1025-
['product' => $object]
1025+
['product' => $object, 'category' => $object]
10261026
);
10271027
return $this;
10281028
}

0 commit comments

Comments
 (0)