mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-04-29 02:53:05 +00:00
🤖 Auto commit for release 'develop' on 2026-01-25
This commit is contained in:
@@ -47,8 +47,8 @@ class ObjectGroup extends Model
|
||||
*/
|
||||
public static function routeBinder(self|string $value): self
|
||||
{
|
||||
if($value instanceof self) {
|
||||
$value = (int)$value->id;
|
||||
if ($value instanceof self) {
|
||||
$value = (int) $value->id;
|
||||
}
|
||||
if (auth()->check()) {
|
||||
$objectGroupId = (int) $value;
|
||||
|
||||
Reference in New Issue
Block a user