summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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