summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-02-11 06:14:36 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-02-11 17:20:39 +0200
commitdeec7b6c071caa7bcd3c8bb56903e1da21c35bf5 (patch)
tree5f8bfe920b2ee0d17f789a806991b8978372c797 /indra/newview/llinventoryfunctions.cpp
parente83f6a291c32d9f3b88660e7770216c83e4f85ff (diff)
#5404 Allow adding to favorites directly from the avatar
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r--indra/newview/llinventoryfunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 458ea24d33..7522ea4907 100644
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -2555,7 +2555,7 @@ bool get_is_favorite(const LLUUID& obj_id)
return obj && obj->getIsFavorite();
}
- return object->getIsFavorite();
+ return object && object->getIsFavorite();
}
void set_favorite(const LLUUID& obj_id, bool favorite)