From 72438a0b8961434978cbcea2008c450a58eabf50 Mon Sep 17 00:00:00 2001 From: tetragon Date: Wed, 5 Sep 2007 18:46:40 +0000 Subject: Open the database connection before trying to use it git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1508 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/am.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/am.pl b/bin/am.pl index 4a8e297f..05b85080 100644 --- a/bin/am.pl +++ b/bin/am.pl @@ -3281,6 +3281,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