summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-01-18 14:45:17 -0800
committerTodd Stinson <stinson@lindenlab.com>2012-01-18 14:45:17 -0800
commit3567fa111300e059f4778ec60a3afd5ba40298ad (patch)
treea23b277fd9f56f63a027cc3ef9a94e71147e52df /indra
parent347f73c209eeeffa2ac457f201778d5e21072371 (diff)
PATH-186: Ensuring to not send PUT data with no parameters specified.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterpathfindinglinksets.cpp6
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;