summaryrefslogtreecommitdiffstats
path: root/app/acf_www-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'app/acf_www-controller.lua')
-rw-r--r--app/acf_www-controller.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua
index 9983293..98b732f 100644
--- a/app/acf_www-controller.lua
+++ b/app/acf_www-controller.lua
@@ -275,15 +275,12 @@ exception_handler = function (self, message )
end
end
--- create a Configuration Framework Entity (cfe)
--- returns a table with at least "value", "type", "option" and "errtxt"
+-- create a Configuration Framework Entity (cfe)
+-- 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