diff --git a/pfUI.lua b/pfUI.lua index 1dcf8a53..8e74f1ef 100644 --- a/pfUI.lua +++ b/pfUI.lua @@ -302,7 +302,7 @@ pfUI:SetScript("OnEvent", function() -- use "Modern" as default profile on a fresh install if pfUI.api.isempty(pfUI_init) and pfUI.api.isempty(pfUI_config) then - pfUI_config = pfUI.api.CopyTable(pfUI_profiles["Modern"]) + pfUI_config = pfUI.api.CopyTable(pfUI_profiles["Modern"]) or {} end pfUI:LoadConfig()