mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-05 10:11:25 -05:00
fix: scout json array decoding
This commit is contained in:
+11
-11
@@ -536,17 +536,17 @@ class Torrent extends Model
|
||||
'resolution' => json_decode($this->json_resolution ?? 'null'),
|
||||
'movie' => json_decode($this->json_movie ?? 'null'),
|
||||
'tv' => json_decode($this->json_tv ?? 'null'),
|
||||
'playlists' => json_decode($this->json_playlists ?? []),
|
||||
'freeleech_tokens' => json_decode($this->json_freeleech_tokens ?? []),
|
||||
'bookmarks' => json_decode($this->json_bookmarks ?? []),
|
||||
'files' => json_decode($this->json_files ?? []),
|
||||
'keywords' => json_decode($this->json_keywords ?? []),
|
||||
'history_seeders' => json_decode($this->json_history_seeders ?? []),
|
||||
'history_leechers' => json_decode($this->json_history_leechers ?? []),
|
||||
'history_active' => json_decode($this->json_history_active ?? []),
|
||||
'history_inactive' => json_decode($this->json_history_inactive ?? []),
|
||||
'history_complete' => json_decode($this->json_history_complete ?? []),
|
||||
'history_incomplete' => json_decode($this->json_history_incomplete ?? []),
|
||||
'playlists' => json_decode($this->json_playlists ?? '[]'),
|
||||
'freeleech_tokens' => json_decode($this->json_freeleech_tokens ?? '[]'),
|
||||
'bookmarks' => json_decode($this->json_bookmarks ?? '[]'),
|
||||
'files' => json_decode($this->json_files ?? '[]'),
|
||||
'keywords' => json_decode($this->json_keywords ?? '[]'),
|
||||
'history_seeders' => json_decode($this->json_history_seeders ?? '[]'),
|
||||
'history_leechers' => json_decode($this->json_history_leechers ?? '[]'),
|
||||
'history_active' => json_decode($this->json_history_active ?? '[]'),
|
||||
'history_inactive' => json_decode($this->json_history_inactive ?? '[]'),
|
||||
'history_complete' => json_decode($this->json_history_complete ?? '[]'),
|
||||
'history_incomplete' => json_decode($this->json_history_incomplete ?? '[]'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user