From: Sven Schöling Date: Mon, 5 Mar 2012 13:32:51 +0000 (+0100) Subject: wirren strict fehler unterdrücken X-Git-Tag: release-3.0.0beta1~344^2~7^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8de8e5398d67e7afdcf42951f020b813128aea73;p=kivitendo-erp.git wirren strict fehler unterdrücken --- 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'}; } }