diff options
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_system/ipkg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/ipkg.lua b/modules/admin-full/luasrc/model/cbi/admin_system/ipkg.lua index 970292760..f161045a3 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/ipkg.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/ipkg.lua @@ -27,7 +27,7 @@ f:append(Template("admin_system/ipkg")) function f.handle(self, state, data) if state == FORM_VALID then if (luci.fs.readfile(ipkgfile) or "") ~= data.lines then - luci.fs.writefile(ipkgfile, data.keys) + luci.fs.writefile(ipkgfile, data.lines) end end return true |