From 3567fa111300e059f4778ec60a3afd5ba40298ad Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Wed, 18 Jan 2012 14:45:17 -0800 Subject: PATH-186: Ensuring to not send PUT data with no parameters specified. --- indra/newview/llfloaterpathfindinglinksets.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3