forked from SoDOff-Project/sodoff
bugfix: internal error when not use middle name
This commit is contained in:
parent
baab40c828
commit
88aa184881
@ -8,6 +8,7 @@ public class DisplayNamesService {
|
||||
|
||||
public DisplayNamesService(ItemService itemService) {
|
||||
DisplayNameList displayNamesList = XmlUtil.DeserializeXml<DisplayNameList>(XmlUtil.ReadResourceXmlString("displaynames"));
|
||||
displayNames.Add(0, "");
|
||||
foreach (var n in displayNamesList) {
|
||||
displayNames.Add(n.Id, n.Name);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user