From 51e4ad0ed0ba07328ec8415742a3f5c60afc7244 Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Sat, 26 Jul 2014 14:44:04 -0700 Subject: DD-101 : Do not list or associate listings that do not validate. Present user with relevant error when that happens. --- indra/newview/llfloatermarketplacelistings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/llfloatermarketplacelistings.cpp') diff --git a/indra/newview/llfloatermarketplacelistings.cpp b/indra/newview/llfloatermarketplacelistings.cpp index 8778839fea..ec551aca06 100755 --- a/indra/newview/llfloatermarketplacelistings.cpp +++ b/indra/newview/llfloatermarketplacelistings.cpp @@ -593,7 +593,7 @@ void LLFloaterMarketplaceValidation::onOpen(const LLSD& key) if (marketplacelistings_id.notNull()) { LLViewerInventoryCategory* cat = gInventory.getCategory(marketplacelistings_id); - validate_marketplacelistings(cat,boost::bind(&LLFloaterMarketplaceValidation::appendMessage, this, _1)); + validate_marketplacelistings(cat,boost::bind(&LLFloaterMarketplaceValidation::appendMessage, this, _1, _2)); } } @@ -605,7 +605,7 @@ void LLFloaterMarketplaceValidation::onOK( void* userdata ) self->closeFloater(); } -void LLFloaterMarketplaceValidation::appendMessage(std::string& message) +void LLFloaterMarketplaceValidation::appendMessage(std::string& message, LLError::ELevel log_level) { if (mEditor) { -- cgit v1.2.3