aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-01 13:45:05 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-01 13:45:05 +0100
commit37094685f47c050702a6fc2f9cdd9b6b06dccd90 (patch)
tree3e00cd2af58e4602779b13c51761bd86b48ea264 /util
parent81cb2e43802f4b4ea7430cf0f58fcf6358bfc97a (diff)
parent2344ef54376bd25ed6ef7f35470135ff73b56d87 (diff)
downloadprosody-37094685f47c050702a6fc2f9cdd9b6b06dccd90.tar.gz
prosody-37094685f47c050702a6fc2f9cdd9b6b06dccd90.zip
Merge with Florob
Diffstat (limited to 'util')
-rw-r--r--util/dataforms.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/dataforms.lua b/util/dataforms.lua
index 55bad998..8634e337 100644
--- a/util/dataforms.lua
+++ b/util/dataforms.lua
@@ -53,7 +53,7 @@ function form_t.form(layout, data, formtype)
elseif field_type == "boolean" then
form:tag("value"):text((value and "1") or "0"):up();
elseif field_type == "fixed" then
-
+ form:tag("value"):text(value):up();
elseif field_type == "jid-multi" then
for _, jid in ipairs(value) do
form:tag("value"):text(jid):up();