Skip to content

Commit 54143ad

Browse files
authored
fix: no new entrieswere tracked
1 parent 5a379d1 commit 54143ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tinect/redirects",
33
"description": "Redirect plugin for Shopware 6",
4-
"version": "3.1.2",
4+
"version": "3.1.3",
55
"type": "shopware-platform-plugin",
66
"license": "MIT",
77
"authors": [

src/Subscriber/isExcludedEventSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function isExcluded(IsExcludedEvent $event): void
8181

8282
foreach ($excludes as $exclude) {
8383
try {
84-
if (\preg_match($exclude, $path) !== false) {
84+
if (\preg_match($exclude, $path) === 1) {
8585
$event->setIsExcluded(true);
8686

8787
return;

0 commit comments

Comments
 (0)