diff --git a/admin/authtypes.pl b/admin/authtypes.pl index 5445c5b7f0..13f573b300 100755 --- a/admin/authtypes.pl +++ b/admin/authtypes.pl @@ -82,7 +82,7 @@ if ( $op eq 'add_form' ) { } $op = 'list'; -} elsif ( $op eq 'cud-delete_confirm' ) { +} elsif ( $op eq 'delete_confirm' ) { my $authority_type = Koha::Authority::Types->find($authtypecode); my $authorities_using_it = Koha::Authorities->search( { authtypecode => $authtypecode } )->count; $template->param( diff --git a/admin/biblio_framework.pl b/admin/biblio_framework.pl index 40f5ac83dc..a6f0e10050 100755 --- a/admin/biblio_framework.pl +++ b/admin/biblio_framework.pl @@ -81,7 +81,7 @@ if ( $op eq 'add_form' ) { $cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode"); $cache->clear_from_cache("MarcCodedFields-$frameworkcode"); $op = 'list'; -} elsif ( $op eq 'cud-delete_confirm' ) { +} elsif ( $op eq 'delete_confirm' ) { my $framework = Koha::BiblioFrameworks->find($frameworkcode); my $count = Koha::Biblios->search( { frameworkcode => $frameworkcode, } )->count;