* Fixed bug in package management
authorSteven Barth <steven@midlink.org>
Sun, 6 Apr 2008 19:21:36 +0000 (19:21 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 6 Apr 2008 19:21:36 +0000 (19:21 +0000)
src/ffluci/controller/admin/system.lua

index 5d3150a..fc31ea2 100644 (file)
@@ -106,6 +106,7 @@ function action_packages()
        
        -- Package info
        local info = ffluci.model.ipkg.info(query)
        
        -- Package info
        local info = ffluci.model.ipkg.info(query)
+       info = info or {}
        local pkgs = {}
        
        -- Sort after status and name
        local pkgs = {}
        
        -- Sort after status and name