summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-25 20:53:43 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-25 20:53:43 +0000
commit1f60164e11abe85fad19704755d2512c5caa510e (patch)
treef9292cdcaaa151830d33d0cea7189ba411d20b45
parent1a0e8890bb288dbbb7ce0419c8309b834699bde7 (diff)
Fixing endless loop in ar/ap print and post routine
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1319 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--bin/arapprn.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/arapprn.pl b/bin/arapprn.pl
index b1885e66..03475a41 100644
--- a/bin/arapprn.pl
+++ b/bin/arapprn.pl
@@ -137,6 +137,8 @@ sub print {
}
if ( $form->{printandpost} ) {
+ $form->{action} = 'post';
+ delete $form->{printandpost};
&post;
}
else {