X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Farap.pl;h=b17b061da7563d2cdfd73764bc960b00d12baa5a;hb=948670d8301d5c6285f454baf11dd344c8762c5b;hp=48cb61027c15c80499c1c462c35f268afa9c20ba;hpb=82c784869fbfc8a746a0ee0662947f189f021993;p=kivitendo-erp.git diff --git a/bin/mozilla/arap.pl b/bin/mozilla/arap.pl index 48cb61027..b17b061da 100644 --- a/bin/mozilla/arap.pl +++ b/bin/mozilla/arap.pl @@ -101,6 +101,8 @@ sub check_name { } else { # name is not on file + # $locale->text('Customer not on file or locked!') + # $locale->text('Vendor not on file or locked!') $msg = ucfirst $name . " not on file or locked!"; $form->error($locale->text($msg)); } @@ -272,7 +274,7 @@ sub add_transaction { sub check_project { $lxdebug->enter_sub(); - for $i (0 .. $form->{rowcount}) { + for $i (1 .. $form->{rowcount}) { my $suffix = $i ? "_$i" : ""; my $prefix = $i ? "" : "global"; $form->{"${prefix}project_id${suffix}"} = "" unless $form->{"${prefix}projectnumber$suffix"};