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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 1511-1517 sub can_edit_item { Link Here
1511
1511
1512
    return 1 if C4::Context->IsSuperLibrarian();
1512
    return 1 if C4::Context->IsSuperLibrarian();
1513
1513
1514
    if ( C4::Context->preference('IndependentBranches') ) {
1514
    if ( $userenv && C4::Context->preference('IndependentBranches') ) {
1515
        return $userenv->{branch} eq $branchcode;
1515
        return $userenv->{branch} eq $branchcode;
1516
    }
1516
    }
1517
1517
1518
- 

Return to bug 20256