modules/admin-full: Fixed a typo on IPKG configuration page
authorSteven Barth <steven@midlink.org>
Tue, 2 Sep 2008 09:06:27 +0000 (09:06 +0000)
committerSteven Barth <steven@midlink.org>
Tue, 2 Sep 2008 09:06:27 +0000 (09:06 +0000)
modules/admin-full/luasrc/model/cbi/admin_system/ipkg.lua

index 970292760f4f83889b18782d59603a73535e8a87..f161045a37f648224c01298582b86776d3e2cdb4 100644 (file)
@@ -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