summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2015-06-09 19:44:03 -0700
committerMerov Linden <merov@lindenlab.com>2015-06-09 19:44:03 -0700
commit84a7394ae03608556b5974ca1bdfc280cf5874b7 (patch)
tree2a5889fc44d1e2a77c0bf4cab03a219bb8d38515 /indra/newview/llinventoryfunctions.cpp
parent2cc3ce72b3f7abf037e554b04850e627a9d8eb5f (diff)
DD-412 : WIP : Validate a listing before creating a listing on SLM
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rwxr-xr-xindra/newview/llinventoryfunctions.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index e245fd2d59..d9002a631d 100755
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -1916,8 +1916,9 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
else if (depth == 1)
{
// Report items not wrapped in version folder
+ result = false;
std::string message = indent + " " + viewer_inv_item->getName() + LLTrans::getString("Marketplace Validation Warning Unwrapped Item");
- cb(message,depth,LLError::LEVEL_WARN);
+ cb(message,depth,LLError::LEVEL_ERROR);
}
}
}