summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-09-02 21:52:31 -0700
committerMerov Linden <merov@lindenlab.com>2014-09-02 21:52:31 -0700
commit5b1f6d23be13d5a0879b06d5c11f333c68bc132b (patch)
tree6c81baee73dd84e43dad9150f56c5eabb8fd3cf9 /indra/newview/llinventoryfunctions.cpp
parent7643a0571ebd92a31ac293cea18d21a160e3d46f (diff)
DD-106 : WIP : Use a single atomic SLM call for association and unlisting. Updating status on source and destination working.
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rwxr-xr-xindra/newview/llinventoryfunctions.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 6986ac664f..3925bcda02 100755
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -153,6 +153,11 @@ void update_marketplace_category(const LLUUID& cur_uuid, bool perform_consistenc
// is limited to 4.
// We also take care of degenerated cases so we don't update all folders in the inventory by mistake.
+ if (cur_uuid.isNull())
+ {
+ return;
+ }
+
// Grab marketplace listing data for this item
S32 depth = depth_nesting_in_marketplace(cur_uuid);
if (depth > 0)