mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Merge 0.9->0.10
This commit is contained in:
commit
cff8575563
2 changed files with 14 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue