summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-05-19 23:58:20 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-05-19 23:58:20 +0000
commitac1d185381dad79bdad5306aa5b37a49976b59d0 (patch)
treecf6ab3d68247b5dd77a5cce3a842d85130b83c76
parent5b464e500b80ae26d1a741bb3880c62877c95975 (diff)
modules/admin-full: fix backup section cutoff in system page if rdate is nil (#242)
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_system/system.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
index d3bec7cc99..4fe10d0ed3 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
@@ -264,4 +264,4 @@ c.write = function(self, section, value)
end
-return m, m3, m2
+return m, m3 or m2, m3 and m2