diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-30 20:13:47 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-30 20:13:47 +0000 |
commit | dcc33f473e6160b3fa001f0c5834b4f6384ff485 (patch) | |
tree | 8152f1f896bdee43aa274d9cbbbd864b9a2bc41b /LedgerSMB | |
parent | 0ec77acf9bda54bedece732f85e8071fe11524d7 (diff) |
Remove pre-parameterisation stringified NULL
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@709 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/Form.pm | 4 | ||||
-rwxr-xr-x | LedgerSMB/IR.pm | 2 |
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 |