From: G. Richardson Date: Fri, 31 Jul 2015 08:54:47 +0000 (+0200) Subject: BankAccount.pm - require für Chart Abfrage X-Git-Tag: release-3.3.0beta~14 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7526e22e5e11fd2376bf12f01fa87980a2b8066e;p=kivitendo-erp.git BankAccount.pm - require für Chart Abfrage --- diff --git a/SL/DB/BankAccount.pm b/SL/DB/BankAccount.pm index 7bbd89767..5f4a3e476 100644 --- a/SL/DB/BankAccount.pm +++ b/SL/DB/BankAccount.pm @@ -24,6 +24,7 @@ sub validate { # chart_id) my $chart_id = $self->chart_id; + require SL::DB::Chart; my $chart = SL::DB::Manager::Chart->find_by( id => $chart_id ); if ( $chart ) { my $linked_bank = SL::DB::Manager::BankAccount->find_by( chart_id => $chart_id );