From 1fe74e53d153ed2ac08da4943b9252ab2cd3da67 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 7 Mar 2011 16:22:26 +0100 Subject: [PATCH] =?utf8?q?Zirkul=C3=A4re=20Referenzen=20aufl=C3=B6sen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Auth/LDAP.pm | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.20.1