mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 15:47:20 +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,
|
RootFolderPath = resource.RootFolderPath,
|
||||||
|
|
||||||
Tags = resource.Tags,
|
Tags = resource.Tags ?? new HashSet<int>(),
|
||||||
Added = resource.Added,
|
Added = resource.Added,
|
||||||
AddOptions = resource.AddOptions
|
AddOptions = resource.AddOptions
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user