summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/controller/admin/system.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/controller/admin/system.lua')
-rw-r--r--src/ffluci/controller/admin/system.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ffluci/controller/admin/system.lua b/src/ffluci/controller/admin/system.lua
index 5d3150aa2a..fc31ea22b5 100644
--- a/src/ffluci/controller/admin/system.lua
+++ b/src/ffluci/controller/admin/system.lua
@@ -106,6 +106,7 @@ function action_packages()
-- Package info
local info = ffluci.model.ipkg.info(query)
+ info = info or {}
local pkgs = {}
-- Sort after status and name