Skip to content
Snippets Groups Projects
Commit f8a010e4 authored by angela's avatar angela
Browse files

check for NULL UUID for friendListFolderID

parent 5d9b0397
Branches
Tags
No related merge requests found
...@@ -519,7 +519,7 @@ bool LLFriendCardsManager::addFriendCardToInventory(const LLUUID& avatarID) ...@@ -519,7 +519,7 @@ bool LLFriendCardsManager::addFriendCardToInventory(const LLUUID& avatarID)
} }
LLUUID friendListFolderID = findFriendAllSubfolderUUIDImpl(); LLUUID friendListFolderID = findFriendAllSubfolderUUIDImpl();
if (shouldBeAdded && !invModel->isCategoryComplete(friendListFolderID)) if (friendListFolderID.notNull() && shouldBeAdded && !invModel->isCategoryComplete(friendListFolderID))
{ {
mFriendsAllFolderCompleted = false; mFriendsAllFolderCompleted = false;
shouldBeAdded = false; shouldBeAdded = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment