mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Expand tests and fix various small issues in strict comparison.
This commit is contained in:
@@ -86,7 +86,7 @@ class Category extends Model
|
||||
public static function routeBinder(Category $value)
|
||||
{
|
||||
if (auth()->check()) {
|
||||
if ($value->user_id === auth()->user()->id) {
|
||||
if (intval($value->user_id) === auth()->user()->id) {
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user