summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua2
1 files changed, 1 insertions, 1 deletions
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 = {}