summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-04-08 18:12:48 -0700
committerMerov Linden <merov@lindenlab.com>2014-04-08 18:12:48 -0700
commitfc4e9d2572635903449ade6ebf2a45aa9e971023 (patch)
treec0abd7a79760e437fa89ed1fbd1ab054d2eea8fe /indra/newview/llinventorymodel.cpp
parent8d20027ff904a29c9fb573372f89839bcab5a0c0 (diff)
DD-18 : Compute stock for all levels, get folders to update more consistently on all actions in the marketplace
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rwxr-xr-xindra/newview/llinventorymodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index 96a2db5afb..c0aedd3881 100755
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -1013,7 +1013,7 @@ LLInventoryModel::item_array_t* LLInventoryModel::getUnlockedItemArray(const LLU
// an existing item with the matching id, or it will add the category.
void LLInventoryModel::updateCategory(const LLViewerInventoryCategory* cat)
{
- if(cat->getUUID().isNull())
+ if(!cat || cat->getUUID().isNull())
{
return;
}