summaryrefslogtreecommitdiffstats
path: root/inc/util.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/util.inc.php')
-rw-r--r--inc/util.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/util.inc.php b/inc/util.inc.php
index 4378a084..06eebfa4 100644
--- a/inc/util.inc.php
+++ b/inc/util.inc.php
@@ -285,5 +285,9 @@ SADFACE;
@unlink($file);
exit(0);
}
+
+ public static function normalizeDn($dn) {
+ return preg_replace('/[,;]\s*/', ',', $dn);
+ }
}