Skip to content

Commit 7efba11

Browse files
authored
Merge pull request #44 from experius/bugfix/UON-117
put '!==' next to stringpos because it didn't satisfy coding standards
2 parents d6d6ba1 + 0f5355a commit 7efba11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Console/Command/Import.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ private function getStoreView($fromUrl)
210210
{
211211
$storeId = $this->storeManager->getDefaultStoreView()->getId();
212212
foreach ($this->storeRepository->getList() as $store) {
213-
if (strpos($fromUrl, $store->getBaseUrl(), 0)) {
213+
if (strpos($fromUrl, $store->getBaseUrl(), 0) !== false) {
214214
$storeId = $store->getId();
215215
break;
216216
}

0 commit comments

Comments
 (0)