summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aa26133)
raw | patch | inline | side by side (parent: aa26133)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Jun 2006 04:19:10 +0000 (04:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Jun 2006 04:19:10 +0000 (04:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3860 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 71fcbb756796bd1ab80b1b5a701ded6e565f4f6b..494b1da9bdad8f4f10098dd5d68d2a7479fee269 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
if(ereg("::",$tmp2))
{
$encoded = split("::",$entry);
- $attr = $encoded[0];
- $value = base64_decode($encoded[1]);
+ $attr = trim($encoded[0]);
+ $value = base64_decode(trim($encoded[1]));
/* Add linenumber */
$data .= $current_line."#".base64_encode($attr.":".$value)."\n";
}