X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-app-ddns%2Fluasrc%2Fmodel%2Fcbi%2Fddns%2Fglobal.lua;h=fbd3cb337719d615767154bd0af249162f75ebad;hp=e1718739f98953bb94f07ce87a611179205b018c;hb=39029888782ce7ea6862cbdfd4322e8b6b14843e;hpb=6160a53ab992e998adcda7119e49096a65a7f5de diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua index e1718739f..fbd3cb337 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua @@ -35,6 +35,7 @@ local ns = m:section( NamedSection, "global", "ddns", .. [[]] .. translate("For detailed information about parameter settings look here.") .. [[]] + ) -- section might not exist function ns.cfgvalue(self, section) @@ -119,7 +120,6 @@ ll.title = translate("Log length") ll.description = translate("Number of last lines stored in log files") ll.rmempty = true ll.default = "250" -ll.datatype = "and(uinteger,min(1))" function ll.validate(self, value) local n = tonumber(value) if not n or math.floor(n) ~= n or n < 1 then