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 4b7565b1..f2edb799 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -3069,7 +3069,7 @@ sub audittrail {
$audittrail->{tablename},
$audittrail->{reference},
$audittrail->{formname},
- $audittrail->{action}.
+ $audittrail->{action},
$employee_id,
$audittrail->{transdate}
);
@@ -3084,7 +3084,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