mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-14 04:26:12 +01:00
Fixed: (Cardigann) Info field text pulling from DB instead of definition
This commit is contained in:
parent
d4bdb73b7c
commit
d7e1043b79
1 changed files with 3 additions and 1 deletions
|
|
@ -63,7 +63,9 @@ public override IndexerResource ToResource(IndexerDefinition definition)
|
|||
foreach (var setting in settings.ExtraFieldData)
|
||||
{
|
||||
var field = extraFields.FirstOrDefault(x => x.Name == setting.Key);
|
||||
if (field != null)
|
||||
|
||||
//Use values from db for all but info type fields
|
||||
if (field != null && field.Type != "info")
|
||||
{
|
||||
field.Value = setting.Value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue