aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/WebUtil.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/WebUtil.cs')
-rw-r--r--OpenSim/Framework/WebUtil.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs
index 9fa93ea..33ef8e0 100644
--- a/OpenSim/Framework/WebUtil.cs
+++ b/OpenSim/Framework/WebUtil.cs
@@ -721,7 +721,7 @@ namespace OpenSim.Framework
721 /// <returns></returns> 721 /// <returns></returns>
722 public static string[] GetPreferredImageTypes(string accept) 722 public static string[] GetPreferredImageTypes(string accept)
723 { 723 {
724 if (accept == null || accept == string.Empty) 724 if (string.IsNullOrEmpty(accept))
725 return new string[0]; 725 return new string[0];
726 726
727 string[] types = accept.Split(new char[] { ',' }); 727 string[] types = accept.Split(new char[] { ',' });