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

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

Return to bug 20256