summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-30 02:29:04 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-30 02:29:04 +0000
commit15cdd7a96407c035138e18e84921cf6cf415e661 (patch)
tree082cb7f095cf27083c7d8485e3af5a00e66a2b5e /bin
parent771d0ae53b348456623f36461ef7005c655d8c95 (diff)
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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pos.pl4
1 files changed, 3 insertions, 1 deletions
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}";