summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/Form.pm4
-rwxr-xr-xLedgerSMB/IR.pm2
2 files changed, 2 insertions, 4 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index ae49ae0c..63048646 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -3077,7 +3077,7 @@ sub audittrail {
$audittrail->{tablename},
$audittrail->{reference},
$audittrail->{formname},
- $audittrail->{action}.
+ $audittrail->{action},
$employee_id,
$audittrail->{transdate}
);
@@ -3092,7 +3092,7 @@ sub audittrail {
$audittrail->{tablename},
$audittrail->{reference},
$audittrail->{formname},
- $audittrail->{action}.
+ $audittrail->{action},
$employee_id,
);
}
diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm
index 22fc6fcf..d04f0448 100755
--- a/LedgerSMB/IR.pm
+++ b/LedgerSMB/IR.pm
@@ -355,8 +355,6 @@ sub post_invoice {
$form->{"sellprice_$i"} * $qty,
2);
- $ref->{project_id} ||= 'NULL';
-
if ($linetotal) {
$query = qq|
INSERT INTO acc_trans