We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6d6ba1 + 0f5355a commit 7efba11Copy full SHA for 7efba11
1 file changed
Console/Command/Import.php
@@ -210,7 +210,7 @@ private function getStoreView($fromUrl)
210
{
211
$storeId = $this->storeManager->getDefaultStoreView()->getId();
212
foreach ($this->storeRepository->getList() as $store) {
213
- if (strpos($fromUrl, $store->getBaseUrl(), 0)) {
+ if (strpos($fromUrl, $store->getBaseUrl(), 0) !== false) {
214
$storeId = $store->getId();
215
break;
216
}
0 commit comments