modules/admin-full: Fixed package management page
authorSteven Barth <steven@midlink.org>
Sat, 16 Aug 2008 21:40:08 +0000 (21:40 +0000)
committerSteven Barth <steven@midlink.org>
Sat, 16 Aug 2008 21:40:08 +0000 (21:40 +0000)
modules/admin-full/luasrc/controller/admin/system.lua

index 6f2428000d8bf66318b4fb151f57a0ba08c2e1f6..21f804a7aa7fb1e18894688cd70345d2df477a0e 100644 (file)
@@ -86,7 +86,7 @@ function action_packages()
        
        
        -- Package info
-       local info = luci.model.ipkg.info("*"..query.."*")
+       local info = luci.model.ipkg.info(query and "*"..query.."*")
        info = info or {}
        local pkgs = {}