Software /
code /
prosody
Diff
util/dataforms.lua @ 6468:3728c30da4e3
Merge 0.9->0.10
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 08 Oct 2014 18:42:33 -0400 |
parent | 6149:2ae6e9063e88 |
parent | 6467:77d00a895bbd |
child | 6668:f6f39c2f1b1f |
line wrap: on
line diff
--- a/util/dataforms.lua Sun Oct 05 15:37:21 2014 +0200 +++ b/util/dataforms.lua Wed Oct 08 18:42:33 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;