summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/luci-lib-base/luasrc/http.lua2
1 files changed, 1 insertions, 1 deletions
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
}
}