aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Profiles/DefaultProfile.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Dlna/Profiles/DefaultProfile.cs')
-rw-r--r--Emby.Dlna/Profiles/DefaultProfile.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Dlna/Profiles/DefaultProfile.cs b/Emby.Dlna/Profiles/DefaultProfile.cs
index 2347ebd0d..90a23a4a2 100644
--- a/Emby.Dlna/Profiles/DefaultProfile.cs
+++ b/Emby.Dlna/Profiles/DefaultProfile.cs
@@ -164,7 +164,7 @@ namespace Emby.Dlna.Profiles
public void AddXmlRootAttribute(string name, string value)
{
- var atts = XmlRootAttributes ?? new XmlAttribute[] { };
+ var atts = XmlRootAttributes ?? System.Array.Empty<XmlAttribute>();
var list = atts.ToList();
list.Add(new XmlAttribute