From: Bernd Bleßmann Date: Fri, 4 Oct 2019 17:07:29 +0000 (+0200) Subject: S:C:YearEndTransactions: Warnung vermeiden: Variablen waren schon deklariert X-Git-Tag: release-3.5.6.1~469 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=529750ee9087ac159f07708ccd75d5403e694ce6;p=kivitendo-erp.git S:C:YearEndTransactions: Warnung vermeiden: Variablen waren schon deklariert --- diff --git a/SL/Controller/YearEndTransactions.pm b/SL/Controller/YearEndTransactions.pm index 658cf42f8..00dea4b67 100644 --- a/SL/Controller/YearEndTransactions.pm +++ b/SL/Controller/YearEndTransactions.pm @@ -364,7 +364,7 @@ sub _year_end_bookings { }; }; - my $debit_cb_acc = SL::DB::AccTransaction->new( + $debit_cb_acc = SL::DB::AccTransaction->new( transdate => $cb_date, ob_transaction => 0, cb_transaction => 1, @@ -374,7 +374,7 @@ sub _year_end_bookings { taxkey => 0, amount => $pl_debit_balance, ); - my $credit_cb_acc = SL::DB::AccTransaction->new( + $credit_cb_acc = SL::DB::AccTransaction->new( transdate => $cb_date, ob_transaction => 0, cb_transaction => 1,