diff options
author | angela <angela@lindenlab.com> | 2009-11-09 23:46:41 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2009-11-09 23:46:41 +0800 |
commit | f8a010e4dd136aba5443b68a367fe39bd1b1ba33 (patch) | |
tree | a20892b2fc64fe4c3ab4637927e5c9aad5fdc96f /indra | |
parent | 5d9b0397f0fad861827274dbbe15f2417f08a0db (diff) |
check for NULL UUID for friendListFolderID
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfriendcard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfriendcard.cpp b/indra/newview/llfriendcard.cpp index c956657825..1ff2566dca 100644 --- a/indra/newview/llfriendcard.cpp +++ b/indra/newview/llfriendcard.cpp @@ -519,7 +519,7 @@ bool LLFriendCardsManager::addFriendCardToInventory(const LLUUID& avatarID) } LLUUID friendListFolderID = findFriendAllSubfolderUUIDImpl(); - if (shouldBeAdded && !invModel->isCategoryComplete(friendListFolderID)) + if (friendListFolderID.notNull() && shouldBeAdded && !invModel->isCategoryComplete(friendListFolderID)) { mFriendsAllFolderCompleted = false; shouldBeAdded = false; |