summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarquisite <marquisite@users.noreply.github.com>2014-07-03 17:24:55 +0930
committermarquisite <marquisite@users.noreply.github.com>2014-07-03 17:24:55 +0930
commit55d947ba66a4e802d5e312528a2a0c68e2d1be57 (patch)
tree30b7f709ee88a51a279d90412a0efd13eeb83dec
parentb4cea6569e07a95fe15c0887d7e751595d410e47 (diff)
downloadAJAX-Chat-55d947ba66a4e802d5e312528a2a0c68e2d1be57.zip
AJAX-Chat-55d947ba66a4e802d5e312528a2a0c68e2d1be57.tar.gz
AJAX-Chat-55d947ba66a4e802d5e312528a2a0c68e2d1be57.tar.bz2
Case-insensitive online user list
Modification originally posted to Google Groups by Ingrid
-rw-r--r--chat/lib/class/AJAXChat.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/chat/lib/class/AJAXChat.php b/chat/lib/class/AJAXChat.php
index 2cf7aa1..be8a90a 100644
--- a/chat/lib/class/AJAXChat.php
+++ b/chat/lib/class/AJAXChat.php
@@ -2389,7 +2389,7 @@ class AJAXChat {
FROM
'.$this->getDataBaseTable('online').'
ORDER BY
- userName;';
+ LOWER(userName);';
// Create a new SQL query:
$result = $this->db->sqlQuery($sql);
@@ -3323,4 +3323,4 @@ class AJAXChat {
}
}
-?> \ No newline at end of file
+?>