summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2009-11-09 23:46:41 +0800
committerangela <angela@lindenlab.com>2009-11-09 23:46:41 +0800
commitf8a010e4dd136aba5443b68a367fe39bd1b1ba33 (patch)
treea20892b2fc64fe4c3ab4637927e5c9aad5fdc96f /indra/newview
parent5d9b0397f0fad861827274dbbe15f2417f08a0db (diff)
check for NULL UUID for friendListFolderID
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfriendcard.cpp2
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;