Don't sort strings with numeric comparison operator...
This commit is contained in:
parent
aff6b5d5d0
commit
39b27f39c4
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ sub www_sendTestEmails {
|
||||||
|
|
||||||
tie my %options, 'Tie::IxHash', (
|
tie my %options, 'Tie::IxHash', (
|
||||||
map { $_->getId => $_->username . "(" . $_->get('email') . ")" }
|
map { $_->getId => $_->username . "(" . $_->get('email') . ")" }
|
||||||
sort { $a->username <=> $b->username }
|
sort { $a->username cmp $b->username }
|
||||||
grep { defined $_ }
|
grep { defined $_ }
|
||||||
map { WebGUI::User->new( $session, $_ ) }
|
map { WebGUI::User->new( $session, $_ ) }
|
||||||
@{ $userIds }
|
@{ $userIds }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue