diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index 93d6de3c6817be72ea954493673bec517a618edc..1b5558fcb2beb174ecc01fba6d70c2d8a3c56ddf 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -3363,7 +3363,7 @@ void LLViewerObject::processTaskInvFile(void** user_data, S32 error_code, LLExtS LLViewerInventoryItem* item = dynamic_cast<LLViewerInventoryItem*>(it->get()); if(item && item->getType() != LLAssetType::AT_CATEGORY) { - std::list<LLUUID>::iterator id_it = std::find(pending_lst.begin(), pending_lst.begin(), item->getAssetUUID()); + std::list<LLUUID>::iterator id_it = std::find(pending_lst.begin(), pending_lst.end(), item->getAssetUUID()); if (id_it != pending_lst.end()) { pending_lst.erase(id_it);