diff options
author | Robert Adams | 2013-11-15 14:56:13 -0800 |
---|---|---|
committer | Robert Adams | 2013-11-15 14:56:13 -0800 |
commit | 604b39cea908029c80aa8ee5ff3aee5c8000c0e4 (patch) | |
tree | bea875d6651531a030630e161b658c74d3aaf357 /OpenSim/Framework/WebUtil.cs | |
parent | Merge branch 'master' into varregion (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-604b39cea908029c80aa8ee5ff3aee5c8000c0e4.zip opensim-SC_OLD-604b39cea908029c80aa8ee5ff3aee5c8000c0e4.tar.gz opensim-SC_OLD-604b39cea908029c80aa8ee5ff3aee5c8000c0e4.tar.bz2 opensim-SC_OLD-604b39cea908029c80aa8ee5ff3aee5c8000c0e4.tar.xz |
Merge branch 'master' into varregion
Diffstat (limited to 'OpenSim/Framework/WebUtil.cs')
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 706b33f..bcf6af8 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -720,7 +720,7 @@ namespace OpenSim.Framework | |||
720 | /// <returns></returns> | 720 | /// <returns></returns> |
721 | public static string[] GetPreferredImageTypes(string accept) | 721 | public static string[] GetPreferredImageTypes(string accept) |
722 | { | 722 | { |
723 | if (accept == null || accept == string.Empty) | 723 | if (string.IsNullOrEmpty(accept)) |
724 | return new string[0]; | 724 | return new string[0]; |
725 | 725 | ||
726 | string[] types = accept.Split(new char[] { ',' }); | 726 | string[] types = accept.Split(new char[] { ',' }); |