summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-01-18 21:45:34 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-01-18 21:45:34 +0000
commitb93e2af133112f03fe6bd61356bedb966fcf0b3c (patch)
treef27a9986f93de9e88eece127f8c32348bd988189 /LedgerSMB
parent165cd6ce47f205e4f621248840928a5b1543a1bb (diff)
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
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Auth/DB.pm2
1 files changed, 1 insertions, 1 deletions
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