summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-30 18:16:06 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-30 18:16:06 +0000
commitda23c10d552b78f3259627df2491cd642aefe98f (patch)
tree8ac97176a14a7c3cf4b65eea3a97881777db9b88 /bin
parent5767df5ef5616bd2f100a7f16f0db672bc615ace (diff)
Fixing Form::current_date to return a date in all cases instead of a timestamp (SL bug probably), and adding ' to blacklisted characters in actions
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1016 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cp.pl1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/cp.pl b/bin/cp.pl
index 6e866767..7868fdee 100755
--- a/bin/cp.pl
+++ b/bin/cp.pl
@@ -1343,7 +1343,6 @@ sub check_form {
$form->error($locale->text('Cannot post payment for a closed period!')) if ($datepaid <= $closedto);
- # this is just to format the year
$form->{datepaid} = $locale->date(\%myconfig, $form->{datepaid});
$amount = $form->parse_amount(\%myconfig, $form->{amount});