View | Details | Raw Unified | Return to bug 8880
Collapse All | Expand All

(-)a/circ/circulation.pl (-5 / +4 lines)
Lines 94-103 my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( Link Here
94
my $branches = GetBranches();
94
my $branches = GetBranches();
95
95
96
my @failedrenews = $query->param('failedrenew');    # expected to be itemnumbers 
96
my @failedrenews = $query->param('failedrenew');    # expected to be itemnumbers 
97
our %renew_failed = {};
97
our %renew_failed = ();
98
for (@failedrenews) { $renew_failed{$_} = 1; }
98
for (@failedrenews) { $renew_failed{$_} = 1; }
99
99
100
my $findborrower = $query->param('findborrower');
100
my $findborrower = $query->param('findborrower') || q{};
101
$findborrower =~ s|,| |g;
101
$findborrower =~ s|,| |g;
102
my $borrowernumber = $query->param('borrowernumber');
102
my $borrowernumber = $query->param('borrowernumber');
103
103
Lines 118-124 if (C4::Context->preference("UseTablesortForCirc")) { Link Here
118
    $template->param(UseTablesortForCirc => 1);
118
    $template->param(UseTablesortForCirc => 1);
119
}
119
}
120
120
121
my $barcode        = $query->param('barcode') || '';
121
my $barcode        = $query->param('barcode') || q{};
122
$barcode =~  s/^\s*|\s*$//g; # remove leading/trailing whitespace
122
$barcode =~  s/^\s*|\s*$//g; # remove leading/trailing whitespace
123
123
124
$barcode = barcodedecode($barcode) if( $barcode && C4::Context->preference('itemBarcodeInputFilter'));
124
$barcode = barcodedecode($barcode) if( $barcode && C4::Context->preference('itemBarcodeInputFilter'));
Lines 127-133 my $duedatespec = $query->param('duedatespec') || $session->param('stickydu Link Here
127
my $issueconfirmed = $query->param('issueconfirmed');
127
my $issueconfirmed = $query->param('issueconfirmed');
128
my $cancelreserve  = $query->param('cancelreserve');
128
my $cancelreserve  = $query->param('cancelreserve');
129
my $organisation   = $query->param('organisations');
129
my $organisation   = $query->param('organisations');
130
my $print          = $query->param('print');
130
my $print          = $query->param('print') || q{};
131
my $newexpiry      = $query->param('dateexpiry');
131
my $newexpiry      = $query->param('dateexpiry');
132
my $debt_confirmed = $query->param('debt_confirmed') || 0; # Don't show the debt error dialog twice
132
my $debt_confirmed = $query->param('debt_confirmed') || 0; # Don't show the debt error dialog twice
133
133
134
- 

Return to bug 8880