Skip to content

Commit

Permalink
for for iazel#19
Browse files Browse the repository at this point in the history
  • Loading branch information
ericrisler committed Aug 30, 2017
1 parent f72b83c commit deb5777
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public function execute(InputInterface $inp, OutputInterface $out)
$list = $this->collection->load();
foreach($list as $product)
{
if($store_id === Store::DEFAULT_STORE_ID)
// fix for #19 - also appears to relate to https://github.com/Iazel/magento2-regenurl/pull/6/commits/179a2e21ee84d9455debf408ad751a5350d2c414
if($store_id !== Store::DEFAULT_STORE_ID)
$product->setStoreId($store_id);

$this->urlPersist->deleteByData([
Expand Down

0 comments on commit deb5777

Please sign in to comment.