Fixed error 403 on certain database types

https://github.com/LinkStackOrg/LinkStack/issues/692
This commit is contained in:
Julian Prieber 2024-01-24 19:37:02 +01:00
parent 05a090d167
commit 375062105e
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class LinkId
return abort(404); return abort(404);
} }
if ($user->id !== $link->user_id) { if ($user->id != $link->user_id) {
return abort(403); return abort(403);
} }