From 52e24ef677de739beb59614a650f4fe1204efd19 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 15 Mar 2010 06:59:09 +0000 Subject: Fixed typo bug and sort user skins. --- lib/authenticator.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/authenticator.lua b/lib/authenticator.lua index 17b477d..1f312ec 100644 --- a/lib/authenticator.lua +++ b/lib/authenticator.lua @@ -195,7 +195,7 @@ get_userinfo_skin = function(self, userid) if id then skin.value = id.skin or skin.value elseif userid then - skins.errtxt = "Could not load skin" + skin.errtxt = "Could not load skin" end -- Call into skins controller to get the list of skins local contrl = self:new("acf-util/skins") @@ -204,6 +204,7 @@ get_userinfo_skin = function(self, userid) for i,s in ipairs(skins.value) do skin.option[#skin.option + 1] = s.value end + table.sort(skin.option) return skin end -- cgit v1.2.3