From: Steven Barth Date: Tue, 9 Sep 2008 15:39:38 +0000 (+0000) Subject: Fixed uvl.errors X-Git-Tag: 0.9.0~1367 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=64a4270a59165357e29dc8b69d9ffd92e1ce51ec Fixed uvl.errors --- diff --git a/libs/uvl/luasrc/uvl/errors.lua b/libs/uvl/luasrc/uvl/errors.lua index bdd596ca8..242965ddc 100644 --- a/libs/uvl/luasrc/uvl/errors.lua +++ b/libs/uvl/luasrc/uvl/errors.lua @@ -121,7 +121,7 @@ function error.child(self, err) if not self.childs then self.childs = { err } else - table.insert( self.childs, err ) + self.childs[#self.childs+1] = err end return self end