From 15cdd7a96407c035138e18e84921cf6cf415e661 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 30 Oct 2007 02:29:04 +0000 Subject: Correcting improper redirect when reposting POS invoices. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1825 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/pos.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/pos.pl b/bin/pos.pl index 35fea78a..873e2a24 100755 --- a/bin/pos.pl +++ b/bin/pos.pl @@ -174,7 +174,9 @@ sub openinvoices { sub edit { $form->{title} = $locale->text('Edit POS Invoice'); - + if (!$form->{nextsub}){ + $form->{nextsub} = 'add'; + } $form->{callback} = "$form->{script}?action=$form->{nextsub}&path=$form->{path}&login=$form->{login}&sessionid=$form->{sessionid}"; -- cgit v1.2.3