diff options
Diffstat (limited to 'util/datamapper.lua')
-rw-r--r-- | util/datamapper.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamapper.lua b/util/datamapper.lua index d2a6a963..65524279 100644 --- a/util/datamapper.lua +++ b/util/datamapper.lua @@ -82,7 +82,7 @@ local parse_array function parse_object(schema, s) local out = {} - if schema.properties then + if type(schema) == "table" and schema.properties then for prop, propschema in pairs(schema.properties) do local proptype, value_where, name, namespace, prefix, single_attribute, enums = unpack_propschema(propschema, prop, s.attr.xmlns) |