mirror of
https://github.com/openwrt/luci.git
synced 2025-12-28 16:49:59 +04:00
libs/sgi-cgi: fix udata vs. string in cgi backend
This commit is contained in:
@@ -80,7 +80,7 @@ function run()
|
||||
io.write(hcache)
|
||||
io.write("\r\n")
|
||||
elseif id == 4 then
|
||||
io.write(data1)
|
||||
io.write(tostring(data1 or ""))
|
||||
elseif id == 5 then
|
||||
io.flush()
|
||||
io.close()
|
||||
|
||||
Reference in New Issue
Block a user