Ensure the gateway_uuid is lower case

This commit is contained in:
Mark Crane
2014-06-24 06:40:29 +00:00
parent 24b0e4b2b3
commit be571646fa
2 changed files with 3 additions and 3 deletions

View File

@@ -123,7 +123,7 @@
end
x = 0;
dbh:query(sql, function(field)
table.insert(xml, [[ <gateway name="]] .. field.gateway_uuid .. [[">]]);
table.insert(xml, [[ <gateway name="]] .. string.lower(field.gateway_uuid) .. [[">]]);
if (string.len(field.username) > 0) then
table.insert(xml, [[ <param name="username" value="]] .. field.username .. [["/>]]);