summaryrefslogtreecommitdiffhomepage
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ffluci/menu.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ffluci/menu.lua b/core/src/ffluci/menu.lua
index ed05f881d6..e55c0e76a4 100644
--- a/core/src/ffluci/menu.lua
+++ b/core/src/ffluci/menu.lua
@@ -43,7 +43,7 @@ scope = {
}
-- Local menu database
-local menu = {}
+local menu = nil
-- The current pointer
local menuc = {}
@@ -119,6 +119,7 @@ end
-- Returns the menu information
function get()
if not menu then
+ menu = {}
collect()
end
return menu