diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLRegionData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs index ff9d860..b942f00 100644 --- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs +++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs | |||
@@ -558,7 +558,7 @@ namespace OpenSim.Data.MSSQL | |||
558 | sql = "select * from landaccesslist where LandUUID = @LandUUID"; | 558 | sql = "select * from landaccesslist where LandUUID = @LandUUID"; |
559 | using (AutoClosingSqlCommand cmdAccessList = _Database.Query(sql)) | 559 | using (AutoClosingSqlCommand cmdAccessList = _Database.Query(sql)) |
560 | { | 560 | { |
561 | cmdAccessList.Parameters.AddWithValue("@LandUUID", landData.GlobalID); | 561 | cmdAccessList.Parameters.AddWithValue("@LandUUID", landData.GlobalID.ToString()); |
562 | using (SqlDataReader readerAccessList = cmdAccessList.ExecuteReader()) | 562 | using (SqlDataReader readerAccessList = cmdAccessList.ExecuteReader()) |
563 | { | 563 | { |
564 | while (readerAccessList.Read()) | 564 | while (readerAccessList.Read()) |