diff options
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLInventoryData.cs')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLInventoryData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs index 1482184..c1eee8d 100644 --- a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs +++ b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs | |||
@@ -635,9 +635,9 @@ namespace OpenSim.Data.MSSQL | |||
635 | /// <param name="connection">connection to the database</param> | 635 | /// <param name="connection">connection to the database</param> |
636 | private void DeleteItemsInFolder(UUID folderID, SqlConnection connection) | 636 | private void DeleteItemsInFolder(UUID folderID, SqlConnection connection) |
637 | { | 637 | { |
638 | using (SqlCommand command = new SqlCommand("DELETE FROM inventoryitems WHERE folderID=@folderID", connection)) | 638 | using (SqlCommand command = new SqlCommand("DELETE FROM inventoryitems WHERE parentFolderID=@parentFolderID", connection)) |
639 | { | 639 | { |
640 | command.Parameters.Add(database.CreateParameter("folderID", folderID)); | 640 | command.Parameters.Add(database.CreateParameter("parentFolderID", folderID)); |
641 | 641 | ||
642 | try | 642 | try |
643 | { | 643 | { |