aboutsummaryrefslogtreecommitdiffstats
path: root/util/dataforms.lua
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
commitf10d012d24cf65e24ba0ff176b56613f4ae4f532 (patch)
tree3e00cd2af58e4602779b13c51761bd86b48ea264 /util/dataforms.lua
parente53d5b4f79b5eab9c8266810b42b0cfa91919ed9 (diff)
parent8cc295b34a55bbd96e95d01a8f5dec73eab77284 (diff)
downloadprosody-f10d012d24cf65e24ba0ff176b56613f4ae4f532.tar.gz
prosody-f10d012d24cf65e24ba0ff176b56613f4ae4f532.zip
Merge with Florob
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 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();