aboutsummaryrefslogtreecommitdiffstats
path: root/util/dataforms.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2014-10-08 18:47:01 -0400
committerWaqas Hussain <waqas20@gmail.com>2014-10-08 18:47:01 -0400
commite58a22fd47b0b0b50ae06527df8fa23f02e1c6a6 (patch)
tree01f86ba2dab7cddd087798294a180246a96e4c08 /util/dataforms.lua
parenteab5feadd71d6a044ecfcc8131fd3b7ed350dc97 (diff)
parentcff85755634ad9c0ae431245e835625f5c57bb82 (diff)
downloadprosody-e58a22fd47b0b0b50ae06527df8fa23f02e1c6a6.tar.gz
prosody-e58a22fd47b0b0b50ae06527df8fa23f02e1c6a6.zip
Merge 0.10->trunk
Diffstat (limited to 'util/dataforms.lua')
-rw-r--r--util/dataforms.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/dataforms.lua b/util/dataforms.lua
index c352858c..b2988ae7 100644
--- a/util/dataforms.lua
+++ b/util/dataforms.lua
@@ -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;