projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sorting of addressbook_search fixed, thanks to the patch of Cor Bosman (xs4all)
[squirrelmail.git]
/
src
/
addrbook_search.php
diff --git
a/src/addrbook_search.php
b/src/addrbook_search.php
index 2adb5ad5a1802616fb0c749af59e9b04912c5ded..46e6cdc743cd6473ae0a565f6f44b026cb8ad367 100644
(file)
--- a/
src/addrbook_search.php
+++ b/
src/addrbook_search.php
@@
-205,6
+205,7
@@
if ($show == 'form') {
$res = $abook->list_addr($backend);
if(is_array($res)) {
+ usort($res,'alistcmp');
display_result($res, false);
} else {
echo '<P ALIGN=center><STRONG>' .
@@
-214,6
+215,7
@@
if ($show == 'form') {
}
} else {
$res = $abook->list_addr();
+ usort($res,'alistcmp');
display_result($res, true);
}