From 19f94464c6a172a98520f702ece4d0ecdb0828ce Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 2 Jul 2011 15:47:27 +0000 Subject: modules/admin-full: fix off-by-one in conloglevel option (#263) --- .../admin-full/luasrc/model/cbi/admin_system/system.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/admin-full/luasrc/model/cbi') 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 4fe10d0ed3..f2e83401e0 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua @@ -123,14 +123,14 @@ o.placeholder = 514 o.datatype = "port" o = s:taboption("logging", ListValue, "conloglevel", translate("Log output level")) -o:value(7, translate("Debug")) -o:value(6, translate("Info")) -o:value(5, translate("Notice")) -o:value(4, translate("Warning")) -o:value(3, translate("Error")) -o:value(2, translate("Critical")) -o:value(1, translate("Alert")) -o:value(0, translate("Emergency")) +o:value(8, translate("Debug")) +o:value(7, translate("Info")) +o:value(6, translate("Notice")) +o:value(5, translate("Warning")) +o:value(4, translate("Error")) +o:value(3, translate("Critical")) +o:value(2, translate("Alert")) +o:value(1, translate("Emergency")) o = s:taboption("logging", ListValue, "cronloglevel", translate("Cron Log Level")) o.default = 8 -- cgit v1.2.3