libs/core: fix bug in firewall model
[project/luci.git] / libs / core / luasrc / model / firewall.lua
index c13f5d6..1251fea 100644 (file)
@@ -42,7 +42,7 @@ function _set(c, s, o, v)
                if type(v) == "boolean" then v = v and "1" or "0" end
                return uci_r:set(c, s, o, v)
        else
-               return uci_r:del(c, s, o, v)
+               return uci_r:delete(c, s, o)
        end
 end