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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 1401-1407 sub can_edit_item { Link Here
1401
1401
1402
    return 1 if C4::Context->IsSuperLibrarian();
1402
    return 1 if C4::Context->IsSuperLibrarian();
1403
1403
1404
    if ( C4::Context->preference('IndependentBranches') ) {
1404
    if ( $userenv && C4::Context->preference('IndependentBranches') ) {
1405
        return $userenv->{branch} eq $branchcode;
1405
        return $userenv->{branch} eq $branchcode;
1406
    }
1406
    }
1407
1407
1408
- 

Return to bug 20256