X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdo.pl;h=fd8482b196b4fcdcd2c221c155c41fd28448d977;hb=fe73e0d261229f181e8133283b530509773d2151;hp=a43da17ed1feb8a8fe28c7bffeca7e42617daf07;hpb=f404e52525ddcbfca571073a62b08c4cac420164;p=kivitendo-erp.git diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index a43da17ed..fd8482b19 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -48,12 +48,12 @@ require "bin/mozilla/reportgenerator.pl"; use strict; +my $print_post; + 1; # end of main -my $print_post; - sub check_do_access { $main::auth->assert($main::form->{type} . '_edit'); } @@ -725,7 +725,8 @@ sub invoice { $form->{type} = "invoice"; # locale messages - $locale = new Locale "$myconfig{countrycode}", "$script"; + $main::locale = new Locale "$myconfig{countrycode}", "$script"; + $locale = $main::locale; require "bin/mozilla/$form->{script}";