summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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}";