summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog3
-rwxr-xr-xLedgerSMB/PE.pm2
2 files changed, 5 insertions, 0 deletions
diff --git a/Changelog b/Changelog
index 18240f46..f22e78d2 100644
--- a/Changelog
+++ b/Changelog
@@ -3,6 +3,9 @@ Changelog for 1.2.6
* 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)
diff --git a/LedgerSMB/PE.pm b/LedgerSMB/PE.pm
index 49d1a385..24247670 100755
--- a/LedgerSMB/PE.pm
+++ b/LedgerSMB/PE.pm
@@ -236,6 +236,8 @@ sub save_project {
$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;