summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua b/applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua
index 71e096c61..08df5b332 100644
--- a/applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua
+++ b/applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua
@@ -72,8 +72,8 @@ interval:depends("_period", "relative")
interval.write = period.write
interval.cfgvalue = function(self, cfg)
- local val = m:get(cfg, "database_interval")
- return val and tonumber(val)
+ local val = tonumber(m:get(cfg, "database_interval"))
+ return val and tostring(val)
end