Merge 0.9->0.10

This commit is contained in:
Waqas Hussain 2014-10-08 18:42:33 -04:00
commit cff8575563
2 changed files with 14 additions and 3 deletions

View file

@ -121,7 +121,7 @@ function form_t.data(layout, stanza)
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;