diff options
author | marquisite <marquisite@users.noreply.github.com> | 2014-07-03 17:24:55 +0930 |
---|---|---|
committer | marquisite <marquisite@users.noreply.github.com> | 2014-07-03 17:24:55 +0930 |
commit | 55d947ba66a4e802d5e312528a2a0c68e2d1be57 (patch) | |
tree | 30b7f709ee88a51a279d90412a0efd13eeb83dec | |
parent | b4cea6569e07a95fe15c0887d7e751595d410e47 (diff) | |
download | AJAX-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.php | 4 |
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 +?>
|