summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llinventoryfilter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfilter.cpp b/indra/newview/llinventoryfilter.cpp
index f5525ec1f2..c41900d691 100644
--- a/indra/newview/llinventoryfilter.cpp
+++ b/indra/newview/llinventoryfilter.cpp
@@ -115,7 +115,7 @@ BOOL LLInventoryFilter::check(LLFolderViewItem* item)
if (listener->getInventoryType() == LLInventoryType::IT_NONE)
{
const LLInventoryObject *obj = gInventory.getObject(listener->getUUID());
- if (!obj->getIsLinkType())
+ if (obj && !obj->getIsLinkType())
{
passed_type = TRUE;
}