From 7526e22e5e11fd2376bf12f01fa87980a2b8066e Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Fri, 31 Jul 2015 10:54:47 +0200 Subject: [PATCH] =?utf8?q?BankAccount.pm=20-=20require=20f=C3=BCr=20Chart?= =?utf8?q?=20Abfrage?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/BankAccount.pm | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.20.1