From 8af9060efd8f47966e898cd12e0515da3b097203 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 5 Sep 2008 15:58:19 +0000 Subject: [PATCH] libs/cbi: Pass default values from UVL --- libs/cbi/luasrc/cbi.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index fb0355e91..3a6c6d7aa 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -838,6 +838,7 @@ function AbstractValue.__init__(self, map, section, option, ...) self.cast = (vs.type == "list") and "list" or "string" self.title = self.title or vs.title self.description = self.description or vs.descr + self.default = vs.default if vs.depends and not self.override_dependencies then for i, deps in ipairs(vs.depends) do -- 2.25.1