X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f404e52525ddcbfca571073a62b08c4cac420164..55e9890a:/bin/mozilla/do.pl 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}";