Lines 763-768
SELECT COUNT(*) FROM reserves WHERE biblionumber=? AND borrowernumber<>?
Link Here
|
763 |
|
763 |
|
764 |
my $dbh = C4::Context->dbh; |
764 |
my $dbh = C4::Context->dbh; |
765 |
my ( $fee ) = $dbh->selectrow_array( $borquery, undef, ($borrowernumber) ); |
765 |
my ( $fee ) = $dbh->selectrow_array( $borquery, undef, ($borrowernumber) ); |
|
|
766 |
$fee += 0; |
766 |
my $hold_fee_mode = C4::Context->preference('HoldFeeMode') || 'not_always'; |
767 |
my $hold_fee_mode = C4::Context->preference('HoldFeeMode') || 'not_always'; |
767 |
if( $fee and $fee > 0 and $hold_fee_mode eq 'not_always' ) { |
768 |
if( $fee and $fee > 0 and $hold_fee_mode eq 'not_always' ) { |
768 |
# This is a reconstruction of the old code: |
769 |
# This is a reconstruction of the old code: |
769 |
- |
|
|