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

(-)a/circ/returns.pl (-2 / +1 lines)
Lines 276-282 if ($barcode) { Link Here
276
276
277
        # make sure return branch respects home branch circulation rules, default to homebranch
277
        # make sure return branch respects home branch circulation rules, default to homebranch
278
        my $hbr = GetBranchItemRule($item->homebranch, $itemtype ? $itemtype->itemtype : undef )->{'returnbranch'} || "homebranch";
278
        my $hbr = GetBranchItemRule($item->homebranch, $itemtype ? $itemtype->itemtype : undef )->{'returnbranch'} || "homebranch";
279
        $returnbranch = $item->$hbr;
279
        $returnbranch = $hbr ne 'noreturn' ? $item->$hbr : $userenv_branch; # can be noreturn, homebranch or holdingbranch
280
280
281
        my $materials = $item->materials;
281
        my $materials = $item->materials;
282
        my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => '', kohafield =>'items.materials', authorised_value => $materials });
282
        my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => '', kohafield =>'items.materials', authorised_value => $materials });
283
- 

Return to bug 19899