diff options
author | justdave%syndicomm.com <> | 2001-11-03 10:05:43 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-11-03 10:05:43 +0000 |
commit | 539dccaf5bb64aec3b62794a0524df4901b3c203 (patch) | |
tree | 5d2fb02b5cc1bd9177d5d527cd7336362cb396c3 | |
parent | 1477ad4e1ab6a71d7ed40a66314cd34471ad86f4 (diff) | |
download | bugs-539dccaf5bb64aec3b62794a0524df4901b3c203.tar bugs-539dccaf5bb64aec3b62794a0524df4901b3c203.tar.gz bugs-539dccaf5bb64aec3b62794a0524df4901b3c203.tar.bz2 bugs-539dccaf5bb64aec3b62794a0524df4901b3c203.tar.xz bugs-539dccaf5bb64aec3b62794a0524df4901b3c203.zip |
Fix for bug 105773: Email addresses in the CC list are now sorted case-insensitively
Patch by Adam Kennedy <bugzilla@ali.as>
r= justdave x2
-rw-r--r-- | Bugzilla/RelationSet.pm | 2 | ||||
-rw-r--r-- | RelationSet.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/RelationSet.pm b/Bugzilla/RelationSet.pm index bfd572400..8668519b9 100644 --- a/Bugzilla/RelationSet.pm +++ b/Bugzilla/RelationSet.pm @@ -248,7 +248,7 @@ sub toArrayOfStrings { push @result, &::DBID_to_name($i); } - return sort(@result); + return sort { lc($a) cmp lc($b) } @result; } # return this set in string form (comma-separated and sorted) diff --git a/RelationSet.pm b/RelationSet.pm index bfd572400..8668519b9 100644 --- a/RelationSet.pm +++ b/RelationSet.pm @@ -248,7 +248,7 @@ sub toArrayOfStrings { push @result, &::DBID_to_name($i); } - return sort(@result); + return sort { lc($a) cmp lc($b) } @result; } # return this set in string form (comma-separated and sorted) |