diff options
| -rw-r--r-- | indra/newview/llpanelpicks.cpp | 11 | 
1 files changed, 7 insertions, 4 deletions
| diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp index ada65c98a4..8eb0b69491 100644 --- a/indra/newview/llpanelpicks.cpp +++ b/indra/newview/llpanelpicks.cpp @@ -843,10 +843,13 @@ void LLPanelPicks::onPanelClassifiedClose(LLPanelClassifiedInfo* panel)  			{  				LLClassifiedItem* c_item = dynamic_cast<LLClassifiedItem*>(  					mClassifiedsList->getItemByValue(values[n])); - -				c_item->setClassifiedName(panel->getClassifiedName()); -				c_item->setDescription(panel->getDescription()); -				c_item->setSnapshotId(panel->getSnapshotId()); +				llassert(c_item); +				if (c_item) +				{ +					c_item->setClassifiedName(panel->getClassifiedName()); +					c_item->setDescription(panel->getDescription()); +					c_item->setSnapshotId(panel->getSnapshotId()); +				}  			}  		}  	} | 
