From ab934d9be3708301031548a94528fb9479fd5d7c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 22 Jun 2006 04:19:10 +0000 Subject: [PATCH] Fix attribute && content string git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3860 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_ldap.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; } -- 2.30.2