aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLManager.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MySQL/MySQLManager.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Data/MySQL/MySQLManager.cs b/OpenSim/Data/MySQL/MySQLManager.cs
index 110f192..f4ef172 100644
--- a/OpenSim/Data/MySQL/MySQLManager.cs
+++ b/OpenSim/Data/MySQL/MySQLManager.cs
@@ -431,7 +431,7 @@ namespace OpenSim.Data.MySQL
431 if (!LLUUID.TryParse((string)reader["UUID"], out id)) 431 if (!LLUUID.TryParse((string)reader["UUID"], out id))
432 return null; 432 return null;
433 433
434 retval.Id = id; 434 retval.ID = id;
435 retval.FirstName = (string) reader["username"]; 435 retval.FirstName = (string) reader["username"];
436 retval.SurName = (string) reader["lastname"]; 436 retval.SurName = (string) reader["lastname"];
437 437
@@ -454,33 +454,33 @@ namespace OpenSim.Data.MySQL
454 retval.UserInventoryURI = (string) reader["userInventoryURI"]; 454 retval.UserInventoryURI = (string) reader["userInventoryURI"];
455 retval.UserAssetURI = (string) reader["userAssetURI"]; 455 retval.UserAssetURI = (string) reader["userAssetURI"];
456 456
457 retval.ProfileCanDoMask = Convert.ToUInt32(reader["profileCanDoMask"].ToString()); 457 retval.CanDoMask = Convert.ToUInt32(reader["profileCanDoMask"].ToString());
458 retval.ProfileWantDoMask = Convert.ToUInt32(reader["profileWantDoMask"].ToString()); 458 retval.WantDoMask = Convert.ToUInt32(reader["profileWantDoMask"].ToString());
459 459
460 if (reader.IsDBNull(reader.GetOrdinal("profileAboutText"))) 460 if (reader.IsDBNull(reader.GetOrdinal("profileAboutText")))
461 retval.ProfileAboutText = ""; 461 retval.AboutText = "";
462 else 462 else
463 retval.ProfileAboutText = (string) reader["profileAboutText"]; 463 retval.AboutText = (string) reader["profileAboutText"];
464 464
465 if (reader.IsDBNull(reader.GetOrdinal("profileFirstText"))) 465 if (reader.IsDBNull(reader.GetOrdinal("profileFirstText")))
466 retval.ProfileFirstText = ""; 466 retval.FirstLifeAboutText = "";
467 else 467 else
468 retval.ProfileFirstText = (string)reader["profileFirstText"]; 468 retval.FirstLifeAboutText = (string)reader["profileFirstText"];
469 469
470 if (reader.IsDBNull(reader.GetOrdinal("profileImage"))) 470 if (reader.IsDBNull(reader.GetOrdinal("profileImage")))
471 retval.ProfileImage = LLUUID.Zero; 471 retval.Image = LLUUID.Zero;
472 else { 472 else {
473 LLUUID tmp; 473 LLUUID tmp;
474 LLUUID.TryParse((string)reader["profileImage"], out tmp); 474 LLUUID.TryParse((string)reader["profileImage"], out tmp);
475 retval.ProfileImage = tmp; 475 retval.Image = tmp;
476 } 476 }
477 477
478 if (reader.IsDBNull(reader.GetOrdinal("profileFirstImage"))) 478 if (reader.IsDBNull(reader.GetOrdinal("profileFirstImage")))
479 retval.ProfileFirstImage = LLUUID.Zero; 479 retval.FirstLifeImage = LLUUID.Zero;
480 else { 480 else {
481 LLUUID tmp; 481 LLUUID tmp;
482 LLUUID.TryParse((string)reader["profileFirstImage"], out tmp); 482 LLUUID.TryParse((string)reader["profileFirstImage"], out tmp);
483 retval.ProfileFirstImage = tmp; 483 retval.FirstLifeImage = tmp;
484 } 484 }
485 485
486 if(reader.IsDBNull(reader.GetOrdinal("webLoginKey"))) 486 if(reader.IsDBNull(reader.GetOrdinal("webLoginKey")))