diff options
Diffstat (limited to 'lualib/lua_stat.lua')
-rw-r--r-- | lualib/lua_stat.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_stat.lua b/lualib/lua_stat.lua index 21870b27d..2606a8d22 100644 --- a/lualib/lua_stat.lua +++ b/lualib/lua_stat.lua @@ -519,7 +519,7 @@ exports.redis_classifier_from_sqlite = redis_classifier_from_sqlite -- Reads statistics config and return preprocessed table local function process_stat_config(cfg) - local opts_section = cfg:get_all_opt('options') + local opts_section = cfg:get_all_opt('options') or {} -- Check if we have a dedicated section for statistics if opts_section.statistics then |