From: Steven Barth Date: Mon, 5 May 2008 19:59:57 +0000 (+0000) Subject: * Fixed menu cache X-Git-Tag: 0.8.0~1077 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b65106ac8bab5bb840b3d282d416e160882dea4;p=oweals%2Fluci.git * Fixed menu cache --- diff --git a/core/src/ffluci/menu.lua b/core/src/ffluci/menu.lua index ed05f881d..e55c0e76a 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