From 375062105eccf1165b35d9cd64883b7731d1a050 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Wed, 24 Jan 2024 19:37:02 +0100 Subject: [PATCH] Fixed error 403 on certain database types https://github.com/LinkStackOrg/LinkStack/issues/692 --- app/Http/Middleware/LinkId.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }