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

(-)a/admin/branches.pl (-2 / +2 lines)
Lines 194-200 if ( $op eq 'add_form' ) { Link Here
194
    $op = 'list';
194
    $op = 'list';
195
} elsif ( $op eq 'delete_confirm_category' ) {
195
} elsif ( $op eq 'delete_confirm_category' ) {
196
    my $category = Koha::LibraryCategories->find($categorycode);
196
    my $category = Koha::LibraryCategories->find($categorycode);
197
    if ( my $libraries_count = scalar( $category->libraries ) ) {
197
    my $libraries_count = scalar( $category->libraries );
198
    if ( $libraries_count > 0 ) {
198
        push @messages,
199
        push @messages,
199
          { type => 'error',
200
          { type => 'error',
200
            code => 'cannot_delete_category',
201
            code => 'cannot_delete_category',
201
- 

Return to bug 16091