mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Merge branch 'master' into careminster
Conflicts: .gitignore OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs prebuild.xml runprebuild.bat
This commit is contained in:
@@ -721,7 +721,7 @@ namespace OpenSim.Framework
|
||||
/// <returns></returns>
|
||||
public static string[] GetPreferredImageTypes(string accept)
|
||||
{
|
||||
if (accept == null || accept == string.Empty)
|
||||
if (string.IsNullOrEmpty(accept))
|
||||
return new string[0];
|
||||
|
||||
string[] types = accept.Split(new char[] { ',' });
|
||||
|
||||
Reference in New Issue
Block a user