From f96f4862d830b7187e16cecdad49b9d350665f72 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 10 Dec 2010 10:20:21 +0000 Subject: Fix parameter names with .'s to not assume clientdata converted to a table - bug fix for cli. --- lib/controllerfunctions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/controllerfunctions.lua') diff --git a/lib/controllerfunctions.lua b/lib/controllerfunctions.lua index 22e763b..aba22ed 100644 --- a/lib/controllerfunctions.lua +++ b/lib/controllerfunctions.lua @@ -6,7 +6,7 @@ function handle_clientdata(form, clientdata, group) value.errtxt = nil local name = n if group then name = group.."."..name end - if name:find("%.") then + if name:find("%.") and not clientdata[name] then -- If the name has a '.' in it, haserl will interpret it as a table local actualval = clientdata for entry in name:gmatch("[^%.]+") do -- cgit v1.2.3