diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 01c63ef2ef..b6463f3d67 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs @@ -976,7 +976,7 @@ namespace OpenSim.Data.SQLite { Helpers.TryParse((string)row["AuthbuyerID"], out authBuyerID); } - catch (InvalidCastException) + catch (InvalidCastException e) { // Database table was created before we got here and now has null values :P try @@ -1165,6 +1165,7 @@ namespace OpenSim.Data.SQLite row["UserLookAtX"] = land.userLookAt.X; row["UserLookAtY"] = land.userLookAt.Y; row["UserLookAtZ"] = land.userLookAt.Z; + row["AuthbuyerID"] = Util.ToRawUuidString(land.authBuyerID); } private void fillLandAccessRow(DataRow row, ParcelManager.ParcelAccessEntry entry, LLUUID parcelID)