summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-07-15 20:23:12 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-07-15 20:23:12 +0300
commit2785f1f33d95348853d6c3e08a14f7627407b50c (patch)
tree1b91aa9e78bf64a98d1dfebda62a35dd65883007
parent609632ea1be0e6c06e66abb3ea96ebfa84edf64b (diff)
SL-17741 Fixed wrong condition
-rw-r--r--indra/newview/llinventorybridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 8ef0be4a00..458f5d2377 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -2096,7 +2096,7 @@ BOOL LLItemBridge::confirmRemoveItem(const LLSD& notification, const LLSD& respo
bool LLItemBridge::isItemCopyable(bool can_copy_as_link) const
{
LLViewerInventoryItem* item = getItem();
- if (item)
+ if (!item)
{
return false;
}