mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-03 22:57:18 +02:00
Fixed: Avoid NullRef for Movie Resources with a null tags field
This commit is contained in:
parent
8a5c0ffd18
commit
69ad0caf40
@ -198,7 +198,7 @@ public static Movie ToModel(this MovieResource resource)
|
||||
|
||||
RootFolderPath = resource.RootFolderPath,
|
||||
|
||||
Tags = resource.Tags,
|
||||
Tags = resource.Tags ?? new HashSet<int>(),
|
||||
Added = resource.Added,
|
||||
AddOptions = resource.AddOptions
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user