MAINT-852 / VWR-8761 : Cannot delete object description. Now you can. Reviewed

by Kelly.
meow-7.2.2
simon@Simon-PC.lindenlab.com 2012-03-26 16:23:53 -07:00
parent 654dd60ca7
commit ca40352950
1 changed files with 2 additions and 2 deletions

View File

@ -4305,8 +4305,8 @@ void LLSelectMgr::packObjectName(LLSelectNode* node, void* user_data)
void LLSelectMgr::packObjectDescription(LLSelectNode* node, void* user_data)
{
const std::string* desc = (const std::string*)user_data;
if(!desc->empty())
{
if(desc)
{ // Empty (non-null, but zero length) descriptions are OK
gMessageSystem->nextBlockFast(_PREHASH_ObjectData);
gMessageSystem->addU32Fast(_PREHASH_LocalID, node->getObject()->getLocalID());
gMessageSystem->addStringFast(_PREHASH_Description, *desc);