diff options
| author | Todd Stinson <stinson@lindenlab.com> | 2012-01-18 14:45:17 -0800 | 
|---|---|---|
| committer | Todd Stinson <stinson@lindenlab.com> | 2012-01-18 14:45:17 -0800 | 
| commit | 3567fa111300e059f4778ec60a3afd5ba40298ad (patch) | |
| tree | a23b277fd9f56f63a027cc3ef9a94e71147e52df | |
| parent | 347f73c209eeeffa2ac457f201778d5e21072371 (diff) | |
PATH-186: Ensuring to not send PUT data with no parameters specified.
| -rw-r--r-- | indra/newview/llfloaterpathfindinglinksets.cpp | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpathfindinglinksets.cpp b/indra/newview/llfloaterpathfindinglinksets.cpp index c70430e7f7..b444ed6df5 100644 --- a/indra/newview/llfloaterpathfindinglinksets.cpp +++ b/indra/newview/llfloaterpathfindinglinksets.cpp @@ -1094,8 +1094,12 @@ void LLFloaterPathfindingLinksets::applyEditFields()  				itemData["D"] = d;
  			}
 -			editData[uuid.asString()] = itemData;
 +			if (!itemData.isUndefined())
 +			{
 +				editData[uuid.asString()] = itemData;
 +			}
  		}
 +
  		if (editData.isUndefined())
  		{
  			llwarns << "No PUT data specified" << llendl;
  | 
