1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-24 08:42:19 +02:00

Set default value for CustomColonReplacementFormat if not provided

This commit is contained in:
Mark McDowall 2024-07-16 17:28:47 -07:00 committed by Mark McDowall
parent 7b8d606a1b
commit 4b5ef4907b

View File

@ -46,7 +46,7 @@ public static NamingConfig ToModel(this NamingConfigResource resource)
ReplaceIllegalCharacters = resource.ReplaceIllegalCharacters,
MultiEpisodeStyle = (MultiEpisodeStyle)resource.MultiEpisodeStyle,
ColonReplacementFormat = (ColonReplacementFormat)resource.ColonReplacementFormat,
CustomColonReplacementFormat = resource.CustomColonReplacementFormat,
CustomColonReplacementFormat = resource.CustomColonReplacementFormat ?? "",
StandardEpisodeFormat = resource.StandardEpisodeFormat,
DailyEpisodeFormat = resource.DailyEpisodeFormat,
AnimeEpisodeFormat = resource.AnimeEpisodeFormat,