plugins/mod_storage_sql.lua

changeset 3743
5adfb8d0444d
parent 3732
bf449ecf2144
child 3744
ed76b64da9d1
--- 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

mercurial