summaryrefslogtreecommitdiff
path: root/pages/contacts.inc
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-04-07 18:28:59 +0200
committerRaindropsSys <contact@minteck.org>2023-04-07 18:28:59 +0200
commit19cd9c50cf733a54928fd08b1fdea8d033240315 (patch)
tree1b7203dbe28ab7538b3588a19dea6168659b2a8f /pages/contacts.inc
parent83354b2b88218090988dd6e526b0a2505b57e0f1 (diff)
downloadpluralconnect-19cd9c50cf733a54928fd08b1fdea8d033240315.tar.gz
pluralconnect-19cd9c50cf733a54928fd08b1fdea8d033240315.tar.bz2
pluralconnect-19cd9c50cf733a54928fd08b1fdea8d033240315.zip
Updated pages/contacts.inc (automated)
Diffstat (limited to 'pages/contacts.inc')
-rw-r--r--pages/contacts.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/pages/contacts.inc b/pages/contacts.inc
index 73232aa..9239274 100644
--- a/pages/contacts.inc
+++ b/pages/contacts.inc
@@ -49,6 +49,10 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; glob
$cache = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/addressbook/saved.json"), true);
+uasort($contacts, function ($a, $b) {
+ return strnatcasecmp($a["nick"], $b["nick"]);
+});
+
?>
<script>