diff --git a/yqtemplate.lua b/yqtemplate.lua index 1bad8a3..0531356 100644 --- a/yqtemplate.lua +++ b/yqtemplate.lua @@ -26,7 +26,7 @@ return { run = function(fcgi) fcgi.print("Content-Type: text/html; charset=utf-8\r\n\r\n") local data = nil - if fcgi.getenv("REQUEST_METHOD") == "POST" + if fcgi.getenv("REQUEST_METHOD") == "POST" then data = fcgi.post() end form({data = data})