From 183d4d471619c04f699fe22b6dac35251c29fb1e Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 20 Nov 2020 08:32:14 -0500 Subject: [PATCH] Bug 26352: Replace call to barcode_generate with call to patron_barcode_transform Signed-off-by: Martin Renvoize --- Koha/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 0de880d9cb..bc90b9f764 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -112,7 +112,7 @@ Autogenerate next cardnumber from highest value found in database sub fixup_cardnumber { my ( $self ) = @_; - my ( $max ) = Koha::Plugins->call( 'barcode_generate', 'patron', $self ); + my ( $max ) = Koha::Plugins->call( 'patron_barcode_transform', $self ) || undef; $max ||= Koha::Patrons->search({ cardnumber => {-regexp => '^-?[0-9]+$'} -- 2.20.1