X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1db3214445fbc5144ebc62c314c11082a2d904c4..43b16238344f6c4203db6b660f9d2e68807d4643:/SL/Auth/DB.pm diff --git a/SL/Auth/DB.pm b/SL/Auth/DB.pm index 0168896f9..dd6350623 100644 --- a/SL/Auth/DB.pm +++ b/SL/Auth/DB.pm @@ -3,6 +3,7 @@ package SL::Auth::DB; use strict; use Carp; +use Scalar::Util qw(weaken); use SL::Auth::Constants qw(:all); use SL::DBUtils; @@ -14,6 +15,7 @@ sub new { my $self = {}; $self->{auth} = shift; + weaken $self->{auth}; bless $self, $type;