summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog2
-rwxr-xr-xLedgerSMB/PE.pm3
2 files changed, 5 insertions, 0 deletions
diff --git a/Changelog b/Changelog
index 35804709..46a3014d 100644
--- a/Changelog
+++ b/Changelog
@@ -30,6 +30,8 @@ Code Quality and API:
* New template system (Chris T)
* IC.pm, OE.pm, and IS.pm are aware of custom fields (Chris T)
* Added LedgerSMB::Sysconfig for site-wide configuration (Chris T)
+* LedgerSMB::IC is aware of custom fields (Chris T)
+* LedgerSMB::PE is aware of custom fields (Chris T)
Packaging:
* Added first version of rpm spec from Mads Kiilerich (Chris T)
diff --git a/LedgerSMB/PE.pm b/LedgerSMB/PE.pm
index 1fcfb3c6..604e62e7 100755
--- a/LedgerSMB/PE.pm
+++ b/LedgerSMB/PE.pm
@@ -188,6 +188,8 @@ sub get_project {
PE->get_customer($myconfig, $form, $dbh);
+ $form->run_custom_queries('project', 'SELECT');
+
$dbh->disconnect;
}
@@ -225,6 +227,7 @@ sub save_project {
)|;
}
$dbh->do($query) || $form->dberror($query);
+ $form->run_custom_queries('project', 'UPDATE');
$dbh->disconnect;