@@ -, +, @@ --- opac/sco/sco-main.pl | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) --- a/opac/sco/sco-main.pl +++ a/opac/sco/sco-main.pl @@ -104,8 +104,6 @@ my ($op, $patronid, $patronlogin, $patronpw, $barcode, $confirmed) = ( $query->param("confirmed") || '', ); -my $issuenoconfirm = 1; #don't need to confirm on issue. -#warn "issuerid: " . $issuerid; my $issuer = GetMember( borrowernumber => $issuerid ); my $item = GetItem(undef,$barcode); if (C4::Context->preference('SelfCheckoutByLogin') && !$patronid) { @@ -196,14 +194,8 @@ elsif ( $op eq "checkout" ) { $template->param(amount => $currencySymbol.$needconfirm->{DEBT}); } } else { - if ( $confirmed || $issuenoconfirm ) { # we'll want to call getpatroninfo again to get updated issues. - # warn "issuing book?"; + if ( $confirmed ) { # we'll want to call getpatroninfo again to get updated issues. AddIssue( $borrower, $barcode ); - # ($borrower, $flags) = getpatroninformation(undef,undef, $patronid); - # $template->param( - # patronid => $patronid, - # validuser => 1, - # ); } else { $confirm_required = 1; #warn "issue confirmation"; --