luci-app-ssr-plus: deal with wrong node info

This commit is contained in:
lean 2020-03-16 21:50:49 +08:00
parent 87922d5874
commit ffda8423f9

View File

@ -92,7 +92,7 @@ end
o = s:option(DummyValue, "type", translate("Type"))
function o.cfgvalue(...)
return string.upper(Value.cfgvalue(...)) or translate("")
return string.upper(Value.cfgvalue(...) or "")
end
o = s:option(DummyValue, "alias", translate("Alias"))