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

(-)a/C4/Items.pm (-2 / +5 lines)
Lines 2100-2106 sub DelItemCheck { Link Here
2100
    if ($onloan) {
2100
    if ($onloan) {
2101
        $error = "book_on_loan";
2101
        $error = "book_on_loan";
2102
    }
2102
    }
2103
    elsif (C4::Context->preference("IndependantBranches") and (C4::Context->userenv->{branch} ne $item->{C4::Context->preference("HomeOrHoldingBranch")||'homebranch'})){
2103
    elsif ( C4::Context->userenv->{flags} != 1 and
2104
            C4::Context->preference("IndependantBranches") and
2105
           (C4::Context->userenv->{branch} ne
2106
             $item->{C4::Context->preference("HomeOrHoldingBranch")||'homebranch'}) )
2107
    {
2104
        $error = "not_same_branch";
2108
        $error = "not_same_branch";
2105
    } 
2109
    } 
2106
    else {
2110
    else {
2107
- 

Return to bug 6885