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 <oleonard@myacpl.org> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
8c814d46d9
commit
0bfad63507
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue