diff --git a/CHANGELOG b/CHANGELOG index 10c04df..83c75ef 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +Version 1.20.2 - Jul. 9, 2016 +Fix bug preventing to send PMs to number-only nicknames + Version 1.20.1 - Jun. 13, 2016 Bugfix when logging guests out via admin section Don't hide image embedding option in profile with cookies disabled diff --git a/chat.php b/chat.php index e5ab270..86e493b 100644 --- a/chat.php +++ b/chat.php @@ -843,7 +843,7 @@ function send_admin($arg=''){ print_start('admin'); $chlist=""; read_members(); - array_multisort(array_map('strtolower', array_keys($A)), SORT_ASC, SORT_STRING, $A); + array_multisort(array_map('strtolower', (string) array_keys($A)), SORT_ASC, SORT_STRING, $A); foreach($A as $member){ echo "