From: Michael M Slusarz Date: Wed, 24 Feb 2010 21:27:50 +0000 (-0700) Subject: Array metadata should not be treated as a Hash X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=91f3ea0d44edd69152b72dc58bb51ec627753f7e;p=horde.git Array metadata should not be treated as a Hash --- diff --git a/imp/js/ViewPort.js b/imp/js/ViewPort.js index 635d52e96..76ed5a3a8 100644 --- a/imp/js/ViewPort.js +++ b/imp/js/ViewPort.js @@ -1447,7 +1447,9 @@ ViewPort_Buffer = Class.create({ this.usermdata = $H(md); } else { $H(md).each(function(pair) { - if (Object.isString(pair.value) || Object.isNumber(pair.value)) { + if (Object.isString(pair.value) || + Object.isNumber(pair.value) || + Object.isArray(pair.value)) { this.usermdata.set(pair.key, pair.value); } else { var val = this.usermdata.get(pair.key);