@@ -, +, @@ - Checkout an item - Renew the item from the renew tab or renewal page entering the barcode with leading and trailing whitespace - "Barcode not found" - Apply patch - Try again - Barcode should be found now --- circ/renew.pl | 1 + 1 file changed, 1 insertion(+) --- a/circ/renew.pl +++ a/circ/renew.pl @@ -52,6 +52,7 @@ my $error = q{}; my ( $soonest_renew_date, $latest_auto_renew_date ); if ($barcode) { + $barcode =~ s/^\s*|\s*$//g; # remove leading/trailing whitespace $item = $schema->resultset("Item")->single( { barcode => $barcode } ); if ($item) { --