From e6ed9b6747f20ed2db55fac65bfbdf87bbdfa1e2 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sat, 3 Apr 2010 18:12:03 -0700 Subject: * Guard against null in last commit --- OpenSim/Services/UserAccountService/UserAccountService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index ff1b0e0..7b38aa6 100644 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs @@ -224,7 +224,8 @@ namespace OpenSim.Services.UserAccountService d.Data["Created"] = data.Created.ToString(); d.Data["UserLevel"] = data.UserLevel.ToString(); d.Data["UserFlags"] = data.UserFlags.ToString(); - d.Data["UserTitle"] = data.UserTitle.ToString(); + if (data.UserTitle != null) + d.Data["UserTitle"] = data.UserTitle.ToString(); List parts = new List(); -- cgit v1.1