From 8da62d0da6e18b73e9c748ff4faa1624548452b4 Mon Sep 17 00:00:00 2001 From: Hammat Wele Date: Wed, 14 May 2025 14:43:54 +0000 Subject: [PATCH] Bug 39800: Error 500 when trying to delete patron card template Test plan: 1. Go to Tools > Patron card creator 2. Click Manage > Card templates 3. Click Delete next to the HB-PC0001 template --> Error 500 4. Go back to Tools > Patron card creator 5. Click Manage > Printer profiles 6. Click Delete next to the '16' printer profile --> Error 500 7. Apply the patch 8. Repeat step 1, 2, 3 --> Card template is deleted 9. Repeat step 4, 5, 6 --> Printer profilesis deleted Signed-off-by: Owen Leonard --- patroncards/manage.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/patroncards/manage.pl b/patroncards/manage.pl index a439c35b41b..11717725d3c 100755 --- a/patroncards/manage.pl +++ b/patroncards/manage.pl @@ -34,6 +34,7 @@ use C4::Creators qw( ); use C4::Labels; use Koha::List::Patron qw( GetPatronLists ); +use C4::Patroncards; my $cgi = CGI->new; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( -- 2.39.5