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

This commit is contained in:
lean 2020-03-16 21:50:49 +08:00 committed by CN_SZTL
parent 8fc9f893d7
commit 975c8067b3
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

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"))