X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ca4e97fdf13349fec57b63389593e5528609e54b..e7e7d67b88f3f2afb29fac5527099089cb8a075d:/SL/Controller/BankTransaction.pm?ds=inline diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index 3606fa600..1a0f50589 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -691,14 +691,13 @@ sub save_single_bank_transaction { } } # Record a record link from the bank transaction to the invoice - my @props = ( + my %props = ( from_table => 'bank_transactions', from_id => $bt_id, to_table => $invoice->is_sales ? 'ar' : 'ap', to_id => $invoice->id, ); - - SL::DB::RecordLink->new(@props)->save; + SL::DB::RecordLink->new(%props)->save; # "close" a sepa_export_item if it exists # code duplicated in action_save_proposals!