diff --git a/indra/newview/fsradarentry.cpp b/indra/newview/fsradarentry.cpp index 996ee441e9..302adbb4d8 100644 --- a/indra/newview/fsradarentry.cpp +++ b/indra/newview/fsradarentry.cpp @@ -51,11 +51,15 @@ FSRadarEntry::FSRadarEntry(const LLUUID& avid) mIsLinden(false), mAvatarNameCallbackConnection() { - // NOTE: typically we request these once on creation to avoid excess traffic/processing. - //This means updates to these properties won't typically be seen while target is in nearby range. - LLAvatarPropertiesProcessor* processor = LLAvatarPropertiesProcessor::getInstance(); - processor->addObserver(mID, this); - processor->sendAvatarPropertiesRequest(mID); + if (mID.notNull()) + { + // NOTE: typically we request these once on creation to avoid excess traffic/processing. + //This means updates to these properties won't typically be seen while target is in nearby range. + LLAvatarPropertiesProcessor* processor = LLAvatarPropertiesProcessor::getInstance(); + + processor->addObserver(mID, this); + processor->sendAvatarPropertiesRequest(mID); + } updateName(); }