summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-11 10:18:24 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-11 10:18:24 -0400
commit64b5b1902c5921929cad57a19244dbc0743b6936 (patch)
tree24408b004b79d47d67534a8b2aa9658a3eb779a8 /lib
parent02e2dfd1aaf085911e56ac672d9674f86262514b (diff)
canonicalization lowercases nicknames
darcs-hash:20080611141824-84dde-a1016e113f7ba0e32685d935cd57618c60db2265.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 614e9f070..900149fc2 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -385,7 +385,7 @@ function common_current_user() {
# get canonical version of nickname for comparison
function common_canonical_nickname($nickname) {
# XXX: UTF-8 canonicalization (like combining chars)
- return $nickname;
+ return strtolower($nickname);
}
# get canonical version of email for comparison