summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-10-16 19:31:20 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-10-16 19:31:20 +0000
commitc182111d97c8cba093403ebf6ab438cfd9f1d2d9 (patch)
tree404e57003b64fffa7312104035ea93e9eb0c6f2a /LedgerSMB
parent05c9e51dcb806570078c0a3d2152c8bbc388719b (diff)
Adding db commit after session check to avoid issues with long-running reports locking a user out.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2372 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Auth/DB.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/Auth/DB.pm b/LedgerSMB/Auth/DB.pm
index 9afc8675..de9d23fe 100755
--- a/LedgerSMB/Auth/DB.pm
+++ b/LedgerSMB/Auth/DB.pm
@@ -112,6 +112,7 @@ sub session_check {
print qq|Set-Cookie: ${LedgerSMB::Sysconfig::cookie_name}=; path=$path;\n|;
return 0;
}
+ $dbh->commit;
}
sub session_create {