Merge branch 'AdminTemplateRedesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into AdminTemplateRedesign

This commit is contained in:
Kristian Ntavidi 2021-03-01 18:43:07 +02:00
commit a4efbb7698
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ public class WordListData extends ComboBoxData<WordListData> {
}
}
Object multiList1 = ((Map<String, Object>) data).get("multiList");
this.multiList = multiList1 instanceof String ? Boolean.parseBoolean((String) multiList1) : (Boolean) multiList1;
this.multiList = multiList1 != null && (multiList1 instanceof String ? Boolean.parseBoolean((String) multiList1) : (Boolean) multiList1);
}
return this;
}