Skip to content

Commit

Permalink
update xml parser
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed Apr 17, 2018
1 parent 3cac4de commit 55c571b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MediaBrowser.LocalMetadata/Parsers/BaseItemXmlParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ private IEnumerable<string> SplitNames(string value)

value = value.Trim().Trim(separator);

return string.IsNullOrWhiteSpace(value) ? Array.Empty<string>() : Split(value, separator, StringSplitOptions.RemoveEmptyEntries);
return string.IsNullOrWhiteSpace(value) ? new string[] { } : Split(value, separator, StringSplitOptions.RemoveEmptyEntries);
}

/// <summary>
Expand Down

0 comments on commit 55c571b

Please sign in to comment.