diff options
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index a85a471272..3f18039376 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -245,8 +245,8 @@ std::string LLInvFVBridge::getSearchableUUIDString() const const LLInventoryModel* model = getInventoryModel(); if (model) { - const LLInventoryItem *item = model->getItem(mUUID); - if(item) + const LLViewerInventoryItem *item = model->getItem(mUUID); + if(item && (item->getIsFullPerm() || gAgent.isGodlikeWithoutAdminMenuFakery())) { std::string uuid = item->getAssetUUID().asString(); LLStringUtil::toUpper(uuid); |