check for NULL UUID for friendListFolderID

meow-7.2.2
angela 2009-11-09 23:46:41 +08:00
parent 5d9b0397f0
commit f8a010e4dd
1 changed files with 1 additions and 1 deletions

View File

@ -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;