From: hickert Date: Thu, 22 Jun 2006 04:19:10 +0000 (+0000) Subject: Fix attribute && content string X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ab934d9be3708301031548a94528fb9479fd5d7c;p=gosa.git Fix attribute && content string git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3860 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ldap.inc b/include/class_ldap.inc index 71fcbb756..494b1da9b 100644 --- a/include/class_ldap.inc +++ b/include/class_ldap.inc @@ -939,8 +939,8 @@ class LDAP{ 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"; }