From cc0d03441c59c21a3d1f397f35d8743e1ab4f643 Mon Sep 17 00:00:00 2001 From: tetragon Date: Wed, 5 Sep 2007 18:46:29 +0000 Subject: 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 --- bin/am.pl | 1 + 1 file changed, 1 insertion(+) 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} ) { -- cgit v1.2.3