diff options
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llsdutil.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llcommon/llsdutil.cpp b/indra/llcommon/llsdutil.cpp index ad27f19e85..ec883130bd 100644 --- a/indra/llcommon/llsdutil.cpp +++ b/indra/llcommon/llsdutil.cpp @@ -691,9 +691,10 @@ namespace llsd LLSD& drill(LLSD& blob, const LLSD& rawPath) { // Treat rawPath uniformly as an array. If it's not already an array, - // store it as the only entry in one. + // store it as the only entry in one. (But let's say Undefined means an + // empty array.) LLSD path; - if (rawPath.isArray()) + if (rawPath.isArray() || rawPath.isUndefined()) { path = rawPath; } |