From: Sven Schöling Date: Thu, 5 Nov 2009 11:21:59 +0000 (+0100) Subject: DO Lieferscheine -> Rechnung: locales auch hier richtig registieren. X-Git-Tag: release-2.6.1beta1~124 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/commitdiff_plain/97ca42c1a23bd446d365826353833a0657e3ccc3?ds=sidebyside DO Lieferscheine -> Rechnung: locales auch hier richtig registieren. Fix für Bug 1235. --- diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index c69052bd9..fd8482b19 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -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}";