summaryrefslogtreecommitdiffstats
path: root/lib/authenticator.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-03-15 06:59:09 +0000
committerTed Trask <ttrask01@yahoo.com>2010-03-15 06:59:09 +0000
commit52e24ef677de739beb59614a650f4fe1204efd19 (patch)
tree43b163e240cd93b479e009f55c6fe0a6d5cc2f31 /lib/authenticator.lua
parente1b230bf9560430b6b5762b2ca96eb6d8e2a575b (diff)
downloadacf-core-52e24ef677de739beb59614a650f4fe1204efd19.tar.bz2
acf-core-52e24ef677de739beb59614a650f4fe1204efd19.tar.xz
Fixed typo bug and sort user skins.
Diffstat (limited to 'lib/authenticator.lua')
-rw-r--r--lib/authenticator.lua3
1 files changed, 2 insertions, 1 deletions
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