From 5be0b13e80b65d99b1c0689ebbf27901e139e39d Mon Sep 17 00:00:00 2001 From: jerrykuku Date: Mon, 15 Mar 2021 19:26:41 +0800 Subject: [PATCH] luci-theme-argonv3: fix bugs Signed-off-by: Tianling Shen --- .../luci-theme-argonv3/luasrc/view/themes/argon/sysauth.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/ctcgfw/luci-theme-argonv3/luasrc/view/themes/argon/sysauth.htm b/package/ctcgfw/luci-theme-argonv3/luasrc/view/themes/argon/sysauth.htm index f526fb8d2e..f4ec24ab2e 100644 --- a/package/ctcgfw/luci-theme-argonv3/luasrc/view/themes/argon/sysauth.htm +++ b/package/ctcgfw/luci-theme-argonv3/luasrc/view/themes/argon/sysauth.htm @@ -65,7 +65,7 @@ local currentBg = {} local bgs = {} local theme_dir = media .. "/background/" - local bing_background = fs.access('/etc/config/argon') and uci:get_first('argon', 'global', 'bing_background') or 0 + local bing_background = fs.access('/etc/config/argon') and uci:get_first('argon', 'global', 'bing_background') or "0" bgs,bgcount=fetchMedia("/www" .. theme_dir .. "*") %>