mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Expand tests and fix various small issues in strict comparison.
This commit is contained in:
@@ -62,7 +62,7 @@ class Bill extends Model
|
||||
public static function routeBinder(Bill $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