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

SF.net SVN: ledger-smb: [1289] branches/1.2



Revision: 1289
          http://svn.sourceforge.net/ledger-smb/?rev=1289&view=rev
Author:   einhverfr
Date:     2007-06-21 11:29:25 -0700 (Thu, 21 Jun 2007)

Log Message:
-----------
Fixing placeholder error saving project

Modified Paths:
--------------
    branches/1.2/Changelog
    branches/1.2/LedgerSMB/PE.pm

Modified: branches/1.2/Changelog
===================================================================
--- branches/1.2/Changelog	2007-06-19 19:29:39 UTC (rev 1288)
+++ branches/1.2/Changelog	2007-06-21 18:29:25 UTC (rev 1289)
@@ -3,6 +3,9 @@
 * Fixed customer_id error in AP transactions (Chris T)
 * Added meta tags to set to utf-8 by default (Chris T)
 * Fixed the alias inconsistancy for the ledgersmb-httpd.conf (Chris T).
+* Fixed invalid html in ca.pl (reported by Donna Robinson) (Chris T)
+* Fixed error searching for customer by address (Chris T)
+* Fixed error db error saving project (Chris T)
 
 Changelog for 1.2.5
 * Partsgroup handling corrected on POS and Sales invoice screens (Chris T)

Modified: branches/1.2/LedgerSMB/PE.pm
===================================================================
--- branches/1.2/LedgerSMB/PE.pm	2007-06-19 19:29:39 UTC (rev 1288)
+++ branches/1.2/LedgerSMB/PE.pm	2007-06-21 18:29:25 UTC (rev 1289)
@@ -236,6 +236,8 @@
     $sth->execute( $form->{projectnumber},
         $form->{description}, $startdate, $enddate, $form->{customer_id} )
       || $form->dberror($query);
+    $query = "SELECT currval('id')";
+    ($form->{id}) = $dbh->selectrow_array($query) || $form->dberror($query);
     $form->run_custom_queries( 'project', 'UPDATE' );
 
     $dbh->commit;


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