Quantcast

probably fixes taint from global reason variable

Alex Shubert [10-21-14 - 18:07]
probably fixes taint from global reason variable
Filename
ui/main_options.lua
diff --git a/ui/main_options.lua b/ui/main_options.lua
index 15ae80e..2100e35 100644
--- a/ui/main_options.lua
+++ b/ui/main_options.lua
@@ -156,7 +156,7 @@ OptionsPanel.okay = function()
 	AutoTurnInCharacterDB = CopyTable(ptable.TempConfig)
 	AutoTurnIn:SetEnabled(AutoTurnInCharacterDB.enabled)

-	ObjectiveTracker_Update(OBJECTIVE_TRACKER_UPDATE_ALL)
+	securecall(ObjectiveTracker_Update, OBJECTIVE_TRACKER_UPDATE_ALL)
 	QuestMapFrame_UpdateAll()
 end