summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-28 14:24:05 +0100
committerYorhel <git@yorhel.nl>2008-12-28 14:24:05 +0100
commit8f28a60b4ea5c3a25a962472e133a16fb1b2a642 (patch)
treeea127b763085c28dc1d82c8e7b6ab9c7baaab2f9 /lib
parent829e161f19fc1fdcc2ae4fa5c6456f9525f03724 (diff)
Order skin list by their full name instead of directory name
Diffstat (limited to 'lib')
-rw-r--r--lib/VNDB/Handler/Users.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm
index 10cf07ad..f2bb0fa6 100644
--- a/lib/VNDB/Handler/Users.pm
+++ b/lib/VNDB/Handler/Users.pm
@@ -357,7 +357,7 @@ sub edit {
[ part => title => 'Options' ],
[ select => short => 'skin', name => 'Prefered skin', options => [
- map [ $_ eq $self->{skin_default} ? '' : $_, $self->{skins}{$_} ], sort keys %{$self->{skins}} ] ],
+ map [ $_ eq $self->{skin_default} ? '' : $_, $self->{skins}{$_} ], sort { $self->{skins}{$a} cmp $self->{skins}{$b} } keys %{$self->{skins}} ] ],
[ check => short => 'flags_list', name =>
qq|Allow other people to see my visual novel list (<a href="/u$uid/list">/u$uid/list</a>) |.
qq|and wishlist (<a href="/u$uid/wish">/u$uid/wish</a>)| ],