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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 1341-1347 sub can_edit_item { Link Here
1341
1341
1342
    return 1 if C4::Context->IsSuperLibrarian();
1342
    return 1 if C4::Context->IsSuperLibrarian();
1343
1343
1344
    if ( C4::Context->preference('IndependentBranches') ) {
1344
    if ( $userenv && C4::Context->preference('IndependentBranches') ) {
1345
        return $userenv->{branch} eq $branchcode;
1345
        return $userenv->{branch} eq $branchcode;
1346
    }
1346
    }
1347
1347
1348
- 

Return to bug 20256