summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/Kolab/LDAP.pm2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 145db92..1397c86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-04 Thomas Arendsen Hein <thomas@intevation.de>
+
+ * lib/Kolab/LDAP.pm: Fix synchronization of mailboxes with newer perl.
+ kolab/issue2411 (perl error in LDAP.pm)
+
2007-11-28 Gunnar Wrobel <p@rdus.de>
* lib/Kolab/LDAP.pm (syncDomains, createObject):
diff --git a/lib/Kolab/LDAP.pm b/lib/Kolab/LDAP.pm
index cfcf3b9..d6a28a3 100644
--- a/lib/Kolab/LDAP.pm
+++ b/lib/Kolab/LDAP.pm
@@ -540,7 +540,7 @@ sub sync
my %objects;
my $mailbox;
foreach $mailbox (@mailboxes) {
- my $u = ${@{$mailbox}}[0];
+ my $u = @{$mailbox}[0];
$u =~ /user[\/\.]([^\/]*)\/?.*/;
$objects{$1} = 1 if ($1);
}