check for NULL UUID for friendListFolderID
parent
5d9b0397f0
commit
f8a010e4dd
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue