From 7ebf2880074ab9a5ef5f8f54116695b77746631c Mon Sep 17 00:00:00 2001 From: einhverfr Date: Mon, 12 May 2008 19:12:58 +0000 Subject: Correcting bogus datepaid in ar/ap transactions git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2136 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/AA.pm | 2 +- VERSION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm index ca1fcd44..13ed246e 100755 --- a/LedgerSMB/AA.pm +++ b/LedgerSMB/AA.pm @@ -286,7 +286,7 @@ sub post_transaction { # record last payment date in ar/ap table $form->{datepaid} = $form->{transdate} unless $form->{datepaid}; - my $datepaid = ($paid) ? qq|'$form->{datepaid}'| : 'NOW'; + my $datepaid = ($paid) ? qq|'$form->{datepaid}'| : undef; $query = qq| diff --git a/VERSION b/VERSION index a6ef42dc..3f54916a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.13 +1.2.14 -- cgit v1.2.3