summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-05 18:46:29 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-05 18:46:29 +0000
commitcc0d03441c59c21a3d1f397f35d8743e1ab4f643 (patch)
treedb9b02d8f1307e3588e05f06beea28c159cdcc13 /bin
parent7988b5ec83d2bffa83c6263835e5e9d7f375214f (diff)
Open the database connection before trying to use it
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1507 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/am.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/am.pl b/bin/am.pl
index c262a717..dedd3286 100755
--- a/bin/am.pl
+++ b/bin/am.pl
@@ -3280,6 +3280,7 @@ sub process_transactions {
}
$form->{id} = $id;
$form->{header} = $header;
+ $form->db_init(\%myconfig);
# post, print, email
if ( $pt->{arid} || $pt->{apid} || $pt->{oeid} ) {