Skip to content

Commit

Permalink
Merge pull request #44 from experius/bugfix/UON-117
Browse files Browse the repository at this point in the history
put '!==' next to stringpos because it didn't satisfy coding standards
  • Loading branch information
DRdevil27 authored Nov 18, 2024
2 parents d6d6ba1 + 0f5355a commit 7efba11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Console/Command/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private function getStoreView($fromUrl)
{
$storeId = $this->storeManager->getDefaultStoreView()->getId();
foreach ($this->storeRepository->getList() as $store) {
if (strpos($fromUrl, $store->getBaseUrl(), 0)) {
if (strpos($fromUrl, $store->getBaseUrl(), 0) !== false) {
$storeId = $store->getId();
break;
}
Expand Down

0 comments on commit 7efba11

Please sign in to comment.