Bug 18251: (follow-up) fix rebase error

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2019-02-20 19:55:36 +00:00 committed by root
parent 0b61c8e5d0
commit 7c99f79dda
1 changed files with 1 additions and 1 deletions

View File

@ -221,12 +221,12 @@ elsif ( $patron && ( $op eq 'checkout' || $op eq 'renew' ) ) {
}
AddIssue( $borrower, $barcode );
$template->param( issued => 1 );
push @newissueslist, $barcode;
if ( $hold_existed ) {
my $dtf = Koha::Database->new->schema->storage->datetime_parser;
$template->param(
issued => 1,
# If the hold existed before the check in, let's confirm that the charge line exists
# Note that this should not be needed but since we do not have proper exception handling here we do it this way
patron_has_hold_fee => Koha::Account::Lines->search(