summaryrefslogtreecommitdiffstats
path: root/app/acf_cli-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'app/acf_cli-controller.lua')
-rw-r--r--app/acf_cli-controller.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/acf_cli-controller.lua b/app/acf_cli-controller.lua
index 2287067..7bd283d 100644
--- a/app/acf_cli-controller.lua
+++ b/app/acf_cli-controller.lua
@@ -39,14 +39,12 @@ exception_handler = function (self, message )
end
-- create a Configuration Framework Entity (cfe)
--- returns a table with at least "value", "type", "option" and "errtxt"
+-- returns a table with at least "value", "type", and "label"
cfe = function ( optiontable )
optiontable = optiontable or {}
me = { value="",
type="text",
- option="",
- errtxt="",
- name="" }
+ label="" }
for key,value in pairs(optiontable) do
me[key] = value
end