Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #33 from mageplaza/2.3-develop
Browse files Browse the repository at this point in the history
2.3 develop
  • Loading branch information
haitv282 authored Jul 13, 2022
2 parents fd9e923 + 7921a79 commit f2d17de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Block/Popup.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public function checkExcludePaths()
$pathsUrl = array_map('trim', $arrayPaths);

foreach ($pathsUrl as $path) {
if (strpos($currentPath, $path) !== false) {
if (!empty($path) && strpos($currentPath, $path) !== false) {
return false;
}
}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "mageplaza/module-better-popup",
"description": "Magento 2 Better Popup",
"require": {
"mageplaza/module-core": "^1.4.5"
"mageplaza/module-core": "^1.4.12"
},
"type": "magento2-module",
"version": "1.2.3",
"version": "1.2.4",
"license": "proprietary",
"authors": [
{
Expand Down

0 comments on commit f2d17de

Please sign in to comment.