According to notes in bug, patch was originally by Chris Cormack.
Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
use CGI;
use C4::Circulation;
use C4::Auth;
+use URI::Escape;
use C4::Dates qw/format_date_in_iso/;
my $input = new CGI;
# redirection to the referrer page
#
if ($input->param('destination') eq "circ"){
+ $cardnumber = uri_escape($cardnumber);
print $input->redirect(
'/cgi-bin/koha/circ/circulation.pl?findborrower='.$cardnumber.$failedrenews.$failedreturn
);