From 1f60164e11abe85fad19704755d2512c5caa510e Mon Sep 17 00:00:00 2001 From: einhverfr Date: Mon, 25 Jun 2007 20:53:43 +0000 Subject: 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 --- bin/arapprn.pl | 2 ++ 1 file changed, 2 insertions(+) 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 { -- cgit v1.2.3