diff options
author | Ted Trask <ttrask01@yahoo.com> | 2010-03-15 06:59:09 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2010-03-15 06:59:09 +0000 |
commit | 52e24ef677de739beb59614a650f4fe1204efd19 (patch) | |
tree | 43b163e240cd93b479e009f55c6fe0a6d5cc2f31 /lib | |
parent | e1b230bf9560430b6b5762b2ca96eb6d8e2a575b (diff) | |
download | acf-core-52e24ef677de739beb59614a650f4fe1204efd19.tar.bz2 acf-core-52e24ef677de739beb59614a650f4fe1204efd19.tar.xz |
Fixed typo bug and sort user skins.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/authenticator.lua | 3 |
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 |