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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 1417-1423 sub can_edit_item { Link Here
1417
1417
1418
    return 1 if C4::Context->IsSuperLibrarian();
1418
    return 1 if C4::Context->IsSuperLibrarian();
1419
1419
1420
    if ( C4::Context->preference('IndependentBranches') ) {
1420
    if ( $userenv && C4::Context->preference('IndependentBranches') ) {
1421
        return $userenv->{branch} eq $branchcode;
1421
        return $userenv->{branch} eq $branchcode;
1422
    }
1422
    }
1423
1423
1424
- 

Return to bug 20256