mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 13:07:59 +01:00
Emergency fix - Can't call format on null object
This commit is contained in:
parent
8282e5752d
commit
17810942b4
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ class Track extends Model
|
|||
'is_downloadable' => $track->is_downloadable,
|
||||
'is_published' => $track->isPublished(),
|
||||
'created_at' => $track->created_at->format('c'),
|
||||
'published_at' => $track->published_at->format('c'),
|
||||
'published_at' => $track->published_at ? $track->published_at->format('c') : null,
|
||||
'duration' => $track->duration,
|
||||
'genre_id' => $track->genre_id,
|
||||
'track_type_id' => $track->track_type_id,
|
||||
|
|
Loading…
Reference in a new issue