diff options
author | RaindropsSys <contact@minteck.org> | 2023-04-07 18:28:59 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-04-07 18:28:59 +0200 |
commit | 19cd9c50cf733a54928fd08b1fdea8d033240315 (patch) | |
tree | 1b7203dbe28ab7538b3588a19dea6168659b2a8f /pages | |
parent | 83354b2b88218090988dd6e526b0a2505b57e0f1 (diff) | |
download | pluralconnect-19cd9c50cf733a54928fd08b1fdea8d033240315.tar.gz pluralconnect-19cd9c50cf733a54928fd08b1fdea8d033240315.tar.bz2 pluralconnect-19cd9c50cf733a54928fd08b1fdea8d033240315.zip |
Updated pages/contacts.inc (automated)
Diffstat (limited to 'pages')
-rw-r--r-- | pages/contacts.inc | 4 |
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> |