summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2012-08-23 13:55:54 +0200
committerAndreas Gohr <gohr@cosmocode.de>2012-08-23 13:55:54 +0200
commit006b89daf7868db73e9a046a3804e8e60345ab4c (patch)
tree6109b4dfde864e16b1a3dbea58383383e7c78fd0
parent496e18cda1b159f7e70345a4ee6204d80d815145 (diff)
downloadrpg-006b89daf7868db73e9a046a3804e8e60345ab4c.tar.gz
rpg-006b89daf7868db73e9a046a3804e8e60345ab4c.tar.bz2
lowercase groups
-rw-r--r--inc/auth/ad.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/auth/ad.class.php b/inc/auth/ad.class.php
index 7919c71ac..f535556a8 100644
--- a/inc/auth/ad.class.php
+++ b/inc/auth/ad.class.php
@@ -257,6 +257,7 @@ class auth_ad extends auth_basic {
$group = str_replace('\\', '', $group);
$group = str_replace('#', '', $group);
$group = preg_replace('[\s]', '_', $group);
+ $group = utf8_strtolower(trim($group));
return $group;
}