From: Moritz Bunkus Date: Mon, 7 Mar 2011 15:22:26 +0000 (+0100) Subject: Zirkuläre Referenzen auflösen X-Git-Tag: release-2.6.3~53^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1fe74e53d153ed2ac08da4943b9252ab2cd3da67;p=kivitendo-erp.git Zirkuläre Referenzen auflösen --- diff --git a/SL/Auth/LDAP.pm b/SL/Auth/LDAP.pm index ea9326275..70e963d47 100644 --- a/SL/Auth/LDAP.pm +++ b/SL/Auth/LDAP.pm @@ -2,6 +2,7 @@ package SL::Auth::LDAP; use English '-no_match_vars'; +use Scalar::Util qw(weaken); use SL::Auth::Constants qw(:all); use strict; @@ -17,6 +18,7 @@ sub new { my $self = {}; $self->{auth} = shift; + weaken $self->{auth}; bless $self, $type;