diff --git a/app/Http/Middleware/LinkId.php b/app/Http/Middleware/LinkId.php index e2f76335..cd9bfbb2 100644 --- a/app/Http/Middleware/LinkId.php +++ b/app/Http/Middleware/LinkId.php @@ -20,7 +20,7 @@ public function handle($request, Closure $next) return abort(404); } - if ($user->id !== $link->user_id) { + if ($user->id != $link->user_id) { return abort(403); }