# HG changeset patch # User daurnimator # Date 1412698103 14400 # Node ID 77d00a895bbd2e3a4ae90bcaf9e18208e3b806f6 # Parent 6e67c73f730cb01d6129418ac2b22e8a8b55546e util/dataforms: Make sure we iterate over field tags diff -r 6e67c73f730c -r 77d00a895bbd util/dataforms.lua --- a/util/dataforms.lua Wed Oct 08 15:56:11 2014 -0400 +++ b/util/dataforms.lua Tue Oct 07 12:08:23 2014 -0400 @@ -121,7 +121,7 @@ for _, field in ipairs(layout) do local tag; - for field_tag in stanza:childtags() do + for field_tag in stanza:childtags("field") do if field.name == field_tag.attr.var then tag = field_tag; break;