Fixed last commit

This commit is contained in:
Steven Barth 2008-09-08 17:55:24 +00:00
parent 8d372d2f28
commit 5d3bddd899

View file

@ -916,7 +916,8 @@ uvlitem._ucicache = {}
function uvlitem._loadconf(self, co, c) function uvlitem._loadconf(self, co, c)
co = co or self._ucicache[c] co = co or self._ucicache[c]
if not co then if not co then
local co, err = cursor:get_all(c) local err
co, err = cursor:get_all(c)
if err then if err then
self:error(ERR.UCILOAD(self, err)) self:error(ERR.UCILOAD(self, err))