summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llinventorybridge.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 0b6fe3dfbc..3635a87881 100755
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -941,7 +941,8 @@ void LLInvFVBridge::addMarketplaceContextMenuOptions(U32 flags,
// Options available at all levels on items and categories
items.push_back(std::string("Marketplace Edit Listing"));
LLUUID listing_folder_id = nested_parent_id(mUUID,depth);
- if (!LLMarketplaceData::instance().isListed(listing_folder_id))
+ LLUUID version_folder_id = LLMarketplaceData::instance().getVersionFolder(listing_folder_id);
+ if (!LLMarketplaceData::instance().isListed(listing_folder_id) || version_folder_id.isNull())
{
disabled_items.push_back(std::string("Marketplace Edit Listing"));
}