From 8b2e83f2d5650acfe2b15a44cb125e28867beb98 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 16 Aug 2008 21:40:08 +0000 Subject: [PATCH] modules/admin-full: Fixed package management page --- modules/admin-full/luasrc/controller/admin/system.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua index 6f2428000..21f804a7a 100644 --- a/modules/admin-full/luasrc/controller/admin/system.lua +++ b/modules/admin-full/luasrc/controller/admin/system.lua @@ -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 = {} -- 2.25.1