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

(-)a/admin/branches.pl (-3 / +2 lines)
Lines 24-30 use C4::Auth; Link Here
24
use C4::Context;
24
use C4::Context;
25
use C4::Output;
25
use C4::Output;
26
use C4::Koha;
26
use C4::Koha;
27
use Koha::Borrowers;
27
use Koha::Patrons;
28
use Koha::Items;
28
use Koha::Items;
29
use Koha::Libraries;
29
use Koha::Libraries;
30
use Koha::LibraryCategories;
30
use Koha::LibraryCategories;
Lines 122-128 if ( $op eq 'add_form' ) { Link Here
122
            },
122
            },
123
        }
123
        }
124
    )->count;
124
    )->count;
125
    my $patrons_count = Koha::Borrowers->search( { branchcode => $branchcode, } )->count;
125
    my $patrons_count = Koha::Patrons->search( { branchcode => $branchcode, } )->count;
126
126
127
    if ( $items_count or $patrons_count ) {
127
    if ( $items_count or $patrons_count ) {
128
        push @messages,
128
        push @messages,
129
- 

Return to bug 15548