Bankerweiterung: Typo, find_by correct aufrufen
authorG. Richardson <information@kivitendo-premium.de>
Wed, 6 May 2015 15:46:59 +0000 (17:46 +0200)
committerG. Richardson <information@kivitendo-premium.de>
Wed, 6 May 2015 15:46:59 +0000 (17:46 +0200)
SL/Controller/BankTransaction.pm

index 918d6aa..47089bd 100644 (file)
@@ -216,7 +216,7 @@ sub action_ajax_payment_suggestion {
 
   my $bt = SL::DB::Manager::BankTransaction->find_by( id => $::form->{bt_id} );
   my $invoice = SL::DB::Manager::Invoice->find_by( id => $::form->{prop_id} );
-  $invoice = SL::DB::Manager::PurchaseInvoice->find_By( id => $::form->{prop_id} ) unless $invoice;
+  $invoice = SL::DB::Manager::PurchaseInvoice->find_by( id => $::form->{prop_id} ) unless $invoice;
 
   die unless $bt and $invoice;