Skip to content

Commit e6bfef3

Browse files
author
achatpc
authored
Update UrlRewriteCollection.php
Fix:
1 parent af3e2e4 commit e6bfef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/UrlRewrite/Model/ResourceModel/UrlRewriteCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function addStoreFilter($store, $withAdmin = true)
6868
$store[] = 0;
6969
}
7070

71-
$this->addFieldToFilter('store_id', ['in' => $store]);
71+
$this->addFieldToFilter('main_table.store_id', ['in' => $store]);
7272

7373
return $this;
7474
}

0 commit comments

Comments
 (0)