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

SF.net SVN: ledger-smb: [1508] trunk/bin/am.pl



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

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

Modified Paths:
--------------
    trunk/bin/am.pl

Modified: trunk/bin/am.pl
===================================================================
--- trunk/bin/am.pl	2007-09-05 18:46:29 UTC (rev 1507)
+++ trunk/bin/am.pl	2007-09-05 18:46:40 UTC (rev 1508)
@@ -3281,6 +3281,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.