changeset 11465 | 766b0eddd12c |
parent 11462 | 0e00fa518688 |
child 11466 | d1982b7eb00d |
--- a/util/datamapper.lua Thu Mar 18 23:57:03 2021 +0100 +++ b/util/datamapper.lua Fri Mar 19 00:26:04 2021 +0100 @@ -82,7 +82,7 @@ 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)