mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -1068,7 +1068,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return;
|
||||
}
|
||||
|
||||
if (newName == String.Empty)
|
||||
if (newName.Length == 0)
|
||||
newName = item.Name;
|
||||
|
||||
AssetBase asset = AssetService.Get(item.AssetID.ToString());
|
||||
|
||||
Reference in New Issue
Block a user