From 0c107525e7f5a351bb348ab26dd850cc79ce7449 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sun, 21 Mar 2010 23:28:19 -0400 Subject: [PATCH] In SortRecipeList(): If there is no matching sort function in RECIPE_SORT_FUNCS, default to Sort_Name(). --- Frame.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Frame.lua b/Frame.lua index e83f6ed..de0459d 100644 --- a/Frame.lua +++ b/Frame.lua @@ -403,11 +403,8 @@ do -- Sorts the recipe_list according to configuration settings. function SortRecipeList() - local sort_func = RECIPE_SORT_FUNCS[addon.db.profile.sorting] + local sort_func = RECIPE_SORT_FUNCS[addon.db.profile.sorting] or Sort_Name - if not sort_func then - return - end local sorted_recipes = addon.sorted_recipes twipe(sorted_recipes) -- 1.7.9.5