# HG changeset patch # User Waqas Hussain # Date 1292250434 -18000 # Node ID 2a9475dce7ffa805450aa12fbba867266d783300 # Parent ec8bcd7666932d9c2dba3fc557dfe7c7840d70ca mod_storage_sql: Fixed the deserialization of string-typed values. diff -r ec8bcd766693 -r 2a9475dce7ff plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Sun Dec 12 17:18:16 2010 +0500 +++ b/plugins/mod_storage_sql.lua Mon Dec 13 19:27:14 2010 +0500 @@ -74,7 +74,7 @@ return nil, "Unhandled value type: "..t; end local function deserialize(t, value) - if t == "string" then return t; + if t == "string" then return value; elseif t == "boolean" then if value == "true" then return true; elseif value == "false" then return false; end