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

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

Return to bug 20256