summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-12-10 10:20:21 +0000
committerTed Trask <ttrask01@yahoo.com>2010-12-10 10:20:21 +0000
commitf96f4862d830b7187e16cecdad49b9d350665f72 (patch)
treefc7224b182dab16bdcef550ef040f6219fe7fab5 /lib
parent6a31c0a6e011ef8996e57a2d925510522fab56bb (diff)
downloadacf-core-f96f4862d830b7187e16cecdad49b9d350665f72.tar.bz2
acf-core-f96f4862d830b7187e16cecdad49b9d350665f72.tar.xz
Fix parameter names with .'s to not assume clientdata converted to a table - bug fix for cli.
Diffstat (limited to 'lib')
-rw-r--r--lib/controllerfunctions.lua2
1 files changed, 1 insertions, 1 deletions
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