From b93e2af133112f03fe6bd61356bedb966fcf0b3c Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 18 Jan 2008 21:45:34 +0000 Subject: Correcting internal server error on logout git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2055 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Auth/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/Auth/DB.pm b/LedgerSMB/Auth/DB.pm index b24fd6d1..747d4d82 100755 --- a/LedgerSMB/Auth/DB.pm +++ b/LedgerSMB/Auth/DB.pm @@ -209,7 +209,7 @@ sub session_destroy { $login =~ s/[^a-zA-Z0-9._+\@'-]//g; # use the central database handle - my $dbh = ${LedgerSMB::Sysconfig::GLOBALDBH}; + my $dbh = $form->{dbh}; my $deleteExisting = $dbh->prepare( " DELETE FROM session -- cgit v1.2.3