mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -1008,7 +1008,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
protected void AddInventoryItem(string name, TaskInventoryItem item, bool allowedDrop)
|
||||
{
|
||||
name = FindAvailableInventoryName(name);
|
||||
if (name == String.Empty)
|
||||
if (name.Length == 0)
|
||||
return;
|
||||
|
||||
item.ParentID = m_part.UUID;
|
||||
|
||||
Reference in New Issue
Block a user