Skip to content

Commit

Permalink
Update Redirects.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AngryMoustache authored Dec 13, 2023
1 parent d959dcf commit 6c79256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Middleware/Redirects.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function handle(Request $request, Closure $next)
(in_array($from, $current));
});

if (! $activeRedirect) {
if (! $activeRedirect || $activeRedirect->clean_from === $activeRedirect->to) {
return $next($request);
}

Expand Down

0 comments on commit 6c79256

Please sign in to comment.