mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -322,7 +322,7 @@ namespace OpenSim.Framework
|
||||
/// <returns>null if the folder is not found</returns>
|
||||
public InventoryFolderImpl FindFolderByPath(string path)
|
||||
{
|
||||
if (path == string.Empty)
|
||||
if (path.Length == 0)
|
||||
return this;
|
||||
|
||||
path = path.Trim();
|
||||
|
||||
Reference in New Issue
Block a user