View | Details | Raw Unified | Return to bug 37080
Collapse All | Expand All

(-)a/admin/authtypes.pl (-1 / +1 lines)
Lines 82-88 if ( $op eq 'add_form' ) { Link Here
82
    }
82
    }
83
    $op = 'list';
83
    $op = 'list';
84
84
85
} elsif ( $op eq 'cud-delete_confirm' ) {
85
} elsif ( $op eq 'delete_confirm' ) {
86
    my $authority_type = Koha::Authority::Types->find($authtypecode);
86
    my $authority_type = Koha::Authority::Types->find($authtypecode);
87
    my $authorities_using_it = Koha::Authorities->search( { authtypecode => $authtypecode } )->count;
87
    my $authorities_using_it = Koha::Authorities->search( { authtypecode => $authtypecode } )->count;
88
    $template->param(
88
    $template->param(
(-)a/admin/biblio_framework.pl (-2 / +1 lines)
Lines 81-87 if ( $op eq 'add_form' ) { Link Here
81
    $cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode");
81
    $cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode");
82
    $cache->clear_from_cache("MarcCodedFields-$frameworkcode");
82
    $cache->clear_from_cache("MarcCodedFields-$frameworkcode");
83
    $op = 'list';
83
    $op = 'list';
84
} elsif ( $op eq 'cud-delete_confirm' ) {
84
} elsif ( $op eq 'delete_confirm' ) {
85
    my $framework = Koha::BiblioFrameworks->find($frameworkcode);
85
    my $framework = Koha::BiblioFrameworks->find($frameworkcode);
86
    my $count = Koha::Biblios->search( { frameworkcode => $frameworkcode, } )->count;
86
    my $count = Koha::Biblios->search( { frameworkcode => $frameworkcode, } )->count;
87
87
88
- 

Return to bug 37080