Attempt to fix mantis issue # 73
parent
a274acc7b8
commit
4dee53c7fb
|
@ -59,6 +59,8 @@ namespace OpenSim.Framework.Communications.Cache
|
||||||
|
|
||||||
// Methods
|
// Methods
|
||||||
public InventoryFolderImpl CreateNewSubFolder(LLUUID folderID, string folderName, ushort type)
|
public InventoryFolderImpl CreateNewSubFolder(LLUUID folderID, string folderName, ushort type)
|
||||||
|
{
|
||||||
|
if (!SubFolders.ContainsKey(folderID))
|
||||||
{
|
{
|
||||||
InventoryFolderImpl subFold = new InventoryFolderImpl();
|
InventoryFolderImpl subFold = new InventoryFolderImpl();
|
||||||
subFold.name = folderName;
|
subFold.name = folderName;
|
||||||
|
@ -69,6 +71,8 @@ namespace OpenSim.Framework.Communications.Cache
|
||||||
SubFolders.Add(subFold.folderID, subFold);
|
SubFolders.Add(subFold.folderID, subFold);
|
||||||
return subFold;
|
return subFold;
|
||||||
}
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
public InventoryItemBase HasItem(LLUUID itemID)
|
public InventoryItemBase HasItem(LLUUID itemID)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue