From a4996261eaa0b2057967e5eb855005a3403a6cb0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 8 Jan 2012 23:39:29 +0000 Subject: libs/web: remove debugging code --- libs/web/luasrc/cbi.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'libs/web/luasrc/cbi.lua') diff --git a/libs/web/luasrc/cbi.lua b/libs/web/luasrc/cbi.lua index e885e4e286..ef45a89563 100644 --- a/libs/web/luasrc/cbi.lua +++ b/libs/web/luasrc/cbi.lua @@ -1432,13 +1432,11 @@ function AbstractValue.validate(self, value) local v for _, v in ipairs(value) do if v and #v > 0 and not verify_datatype(self.datatype, v) then - error('F') return nil end end else if not verify_datatype(self.datatype, value) then - error('F') return nil end end -- cgit v1.2.3