From 8de8e5398d67e7afdcf42951f020b813128aea73 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 5 Mar 2012 14:32:51 +0100 Subject: [PATCH] =?utf8?q?wirren=20strict=20fehler=20unterdr=C3=BCcken?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/dn.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index 07b1000ad..627f69633 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -135,7 +135,7 @@ sub show_invoices { map { $row->{$_} = $form->format_amount(\%myconfig, $row->{$_} * 1, -2) } qw(amount open_amount fee interest); if ($row->{'language_id'}) { - $row->{language} = SL::DB::Manager::Language->find_by('id' => $row->{'language_id'})->{'description'}; + $row->{language} = SL::DB::Manager::Language->find_by_or_create('id' => $row->{'language_id'})->{'description'}; } } -- 2.20.1