diff options
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLUserData.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs index 81acbfb..5f7db15 100644 --- a/OpenSim/Data/MySQL/MySQLUserData.cs +++ b/OpenSim/Data/MySQL/MySQLUserData.cs | |||
@@ -722,6 +722,12 @@ namespace OpenSim.Data.MySQL | |||
722 | reader.Dispose(); | 722 | reader.Dispose(); |
723 | result.Dispose(); | 723 | result.Dispose(); |
724 | 724 | ||
725 | if (null == appearance) | ||
726 | { | ||
727 | m_log.WarnFormat("[USER DB] No appearance found for user {0}", user.ToString()); | ||
728 | return null; | ||
729 | } | ||
730 | |||
725 | appearance.SetAttachments(GetUserAttachments(user)); | 731 | appearance.SetAttachments(GetUserAttachments(user)); |
726 | 732 | ||
727 | return appearance; | 733 | return appearance; |