[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1507] branches/1.2/bin/am.pl



Revision: 1507
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1507&view=rev
Author:   tetragon
Date:     2007-09-05 11:46:29 -0700 (Wed, 05 Sep 2007)

Log Message:
-----------
Open the database connection before trying to use it

Modified Paths:
--------------
    branches/1.2/bin/am.pl

Modified: branches/1.2/bin/am.pl
===================================================================
--- branches/1.2/bin/am.pl	2007-09-05 18:17:13 UTC (rev 1506)
+++ branches/1.2/bin/am.pl	2007-09-05 18:46:29 UTC (rev 1507)
@@ -3280,6 +3280,7 @@
             }
             $form->{id}     = $id;
             $form->{header} = $header;
+            $form->db_init(\%myconfig);
 
             # post, print, email
             if ( $pt->{arid} || $pt->{apid} || $pt->{oeid} ) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.