diff options
| author | grothedev <grothedev@gmail.com> | 2026-01-09 20:02:23 -0500 |
|---|---|---|
| committer | grothedev <grothedev@gmail.com> | 2026-01-09 20:02:23 -0500 |
| commit | a8446acd5a32f43534260cbe16225cfa975e18f2 (patch) | |
| tree | d0a42bd9cb319758db803878523187978458c157 /app/Models/File.php | |
| parent | 57445d4ccbfe1cb190437c8f6b609fc83723b015 (diff) | |
Diffstat (limited to 'app/Models/File.php')
| -rw-r--r-- | app/Models/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/File.php b/app/Models/File.php index a5a14e3..887333a 100644 --- a/app/Models/File.php +++ b/app/Models/File.php @@ -90,7 +90,7 @@ class File extends Model $days = $days ?? config('fileupload.expiration_days'); if (config('fileupload.expiration_enabled')) { - $this->expires_at = now()->addDays($days); + $this->expires_at = now()->addDays((int) $days); $this->save(); } } |
