summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a6adf13)
raw | patch | inline | side by side (parent: a6adf13)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Jun 2006 06:36:53 +0000 (06:36 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Jun 2006 06:36:53 +0000 (06:36 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3862 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_ldap.inc | patch | blob | history |
diff --git a/include/class_ldap.inc b/include/class_ldap.inc
index d79ef172c56dbb7e9dcb41bb1e35e10a301b0f14..dbcfc24d6f1b359057f2bfe211f50575f0bc9d48 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
$attr[0]= trim($attr[0]); /* attribute */
$attr[1]= trim($attr[1]); /* value */
+ $attr[0] = trim( preg_replace("/:.*$/","",$row));
+ $attr[1] = trim( preg_replace("/^".$attr[0]."[ ::]/","",$row));
+
/* Check for attributes that are used more than once */
if(!isset($data[$attr[0]])) {
$data[$attr[0]]=$attr[1];