From fd954b146fad31412b9296d1455a04789e408eb4 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Sven=20Sch=C3=B6ling?= <s.schoeling@linet-services.de>
Date: Thu, 5 Nov 2009 11:30:17 +0100
Subject: [PATCH] Auftrag zu Rechnung: locale muss global registriert werden.

---
 bin/mozilla/oe.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl
index 7c9ee98ef..95ccfa688 100644
--- a/bin/mozilla/oe.pl
+++ b/bin/mozilla/oe.pl
@@ -1367,7 +1367,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}";
 
-- 
2.20.1