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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 1545-1551 sub can_edit_item { Link Here
1545
1545
1546
    return 1 if C4::Context->IsSuperLibrarian();
1546
    return 1 if C4::Context->IsSuperLibrarian();
1547
1547
1548
    if ( C4::Context->preference('IndependentBranches') ) {
1548
    if ( $userenv && C4::Context->preference('IndependentBranches') ) {
1549
        return $userenv->{branch} eq $branchcode;
1549
        return $userenv->{branch} eq $branchcode;
1550
    }
1550
    }
1551
1551
1552
- 

Return to bug 20256