mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-25 09:43:44 +02:00
Don't trigger a recursive nesting call
This commit is contained in:
@@ -171,6 +171,6 @@ abstract class Model extends IlluminateModel
|
||||
return parent::asDateTime($value);
|
||||
}
|
||||
|
||||
return $this->asImmutableDateTime($value);
|
||||
return parent::asDateTime($value)->toImmutable();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user