diff options
Diffstat (limited to 'OpenSim/Framework/Data.SQLite/SQLiteUserData.cs')
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteUserData.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs index 2316de8..22f0053 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs | |||
@@ -590,7 +590,7 @@ namespace OpenSim.Framework.Data.SQLite | |||
590 | // interesting has to be done to actually get these values | 590 | // interesting has to be done to actually get these values |
591 | // back out. Not enough time to figure it out yet. | 591 | // back out. Not enough time to figure it out yet. |
592 | UserProfileData user = new UserProfileData(); | 592 | UserProfileData user = new UserProfileData(); |
593 | user.UUID = new LLUUID((String) row["UUID"]); | 593 | LLUUID.TryParse((String)row["UUID"], out user.UUID); |
594 | user.username = (String) row["username"]; | 594 | user.username = (String) row["username"]; |
595 | user.surname = (String) row["surname"]; | 595 | user.surname = (String) row["surname"]; |
596 | user.passwordHash = (String) row["passwordHash"]; | 596 | user.passwordHash = (String) row["passwordHash"]; |
@@ -617,8 +617,8 @@ namespace OpenSim.Framework.Data.SQLite | |||
617 | user.profileWantDoMask = Convert.ToUInt32(row["profileWantDoMask"]); | 617 | user.profileWantDoMask = Convert.ToUInt32(row["profileWantDoMask"]); |
618 | user.profileAboutText = (String) row["profileAboutText"]; | 618 | user.profileAboutText = (String) row["profileAboutText"]; |
619 | user.profileFirstText = (String) row["profileFirstText"]; | 619 | user.profileFirstText = (String) row["profileFirstText"]; |
620 | user.profileImage = new LLUUID((String) row["profileImage"]); | 620 | LLUUID.TryParse((String)row["profileImage"], out user.profileImage); |
621 | user.profileFirstImage = new LLUUID((String) row["profileFirstImage"]); | 621 | LLUUID.TryParse((String)row["profileFirstImage"], out user.profileFirstImage); |
622 | user.webLoginKey = new LLUUID((String) row["webLoginKey"]); | 622 | user.webLoginKey = new LLUUID((String) row["webLoginKey"]); |
623 | 623 | ||
624 | return user; | 624 | return user; |
@@ -832,4 +832,4 @@ namespace OpenSim.Framework.Data.SQLite | |||
832 | return true; | 832 | return true; |
833 | } | 833 | } |
834 | } | 834 | } |
835 | } \ No newline at end of file | 835 | } |