diff --git a/libs/luci-lib-base/luasrc/http.lua b/libs/luci-lib-base/luasrc/http.lua index 3b0865082d..882b71c8f7 100644 --- a/libs/luci-lib-base/luasrc/http.lua +++ b/libs/luci-lib-base/luasrc/http.lua @@ -140,6 +140,6 @@ context = { content = function(self, ...) return content(...) end; getcookie = function(self, ...) return getcookie(...) end; setfilehandler = function(self, ...) return setfilehandler(...) end; - message = L.http.message + message = L and L.http.message } }