Bug 26536: Assignment fix
Whilst working on this bug I found a weird inconsistent variable assignment line Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> JD: Amended commit message: fix bug number Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
f87f64c41f
commit
308f52d764
|
|
@ -229,7 +229,7 @@ if ( $total_paid and $total_paid ne '0.00' ) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
my $note = $input->param('selected_accts_notes');
|
my $note = $input->param('selected_accts_notes');
|
||||||
$pay_result = $payment_id = $account->pay(
|
$pay_result = $account->pay(
|
||||||
{
|
{
|
||||||
amount => $total_paid,
|
amount => $total_paid,
|
||||||
library_id => $library_id,
|
library_id => $library_id,
|
||||||
|
|
@ -240,6 +240,7 @@ if ( $total_paid and $total_paid ne '0.00' ) {
|
||||||
cash_register => $cash_register_id
|
cash_register => $cash_register_id
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
$payment_id = $pay_result->{payment_id};
|
||||||
}
|
}
|
||||||
$payment_id = $pay_result->{payment_id};
|
$payment_id = $pay_result->{payment_id};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue