From 5cbc654b130e8ab03eac47170920ad797b4d15a7 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 21 Feb 2008 02:28:59 +0000 Subject: [PATCH] Hm, this wasn't validating the values inside objects. Fixed. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4942 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/util/ObjectMarshaller.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/as/com/threerings/util/ObjectMarshaller.as b/src/as/com/threerings/util/ObjectMarshaller.as index 31e2d2e28..1a7821e08 100644 --- a/src/as/com/threerings/util/ObjectMarshaller.as +++ b/src/as/com/threerings/util/ObjectMarshaller.as @@ -161,7 +161,7 @@ public class ObjectMarshaller } // check sub-properties (of arrays and objects) - for each (var arrValue :Object in (value as Array)) { + for each (var arrValue :Object in value) { var s :String = getValidationError(arrValue); if (s != null) { return s;