Fixed last commit
authorSteven Barth <steven@midlink.org>
Sun, 7 Sep 2008 16:27:01 +0000 (16:27 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 7 Sep 2008 16:27:01 +0000 (16:27 +0000)
libs/cbi/luasrc/cbi.lua

index 8cfc695..a37e81e 100644 (file)
@@ -689,7 +689,7 @@ function NamedSection.parse(self, novld)
                if luci.http.formvalue("cbi.submit") then
                        Node.parse(self, s)
 
                if luci.http.formvalue("cbi.submit") then
                        Node.parse(self, s)
 
-                       if not novld not self.override_scheme and self.map.scheme then
+                       if not novld and not self.override_scheme and self.map.scheme then
                                _uvl_validate_section(self, s)
                        end
                end
                                _uvl_validate_section(self, s)
                        end
                end