From 8b010c5a9feda44e4e21ecc0dd45aa01de14335a Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 25 Apr 2022 20:43:09 +0100 Subject: ContentDB: Fix ungraceful crash on aliases when list download fails Fixes #12267 and fixes #12154 --- builtin/mainmenu/dlg_contentstore.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin') diff --git a/builtin/mainmenu/dlg_contentstore.lua b/builtin/mainmenu/dlg_contentstore.lua index 0127d600c..276a7b096 100644 --- a/builtin/mainmenu/dlg_contentstore.lua +++ b/builtin/mainmenu/dlg_contentstore.lua @@ -25,7 +25,7 @@ end -- Unordered preserves the original order of the ContentDB API, -- before the package list is ordered based on installed state. -local store = { packages = {}, packages_full = {}, packages_full_unordered = {} } +local store = { packages = {}, packages_full = {}, packages_full_unordered = {}, aliases = {} } local http = core.get_http_api() -- cgit v1.2.3