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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 1323-1329 sub can_edit_item { Link Here
1323
1323
1324
    return 1 if C4::Context->IsSuperLibrarian();
1324
    return 1 if C4::Context->IsSuperLibrarian();
1325
1325
1326
    if ( C4::Context->preference('IndependentBranches') ) {
1326
    if ( $userenv && C4::Context->preference('IndependentBranches') ) {
1327
        return $userenv->{branch} eq $branchcode;
1327
        return $userenv->{branch} eq $branchcode;
1328
    }
1328
    }
1329
1329
1330
- 

Return to bug 20256