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

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 2162-2168 sub AddReturn { Link Here
2162
                $transfer->receive;
2162
                $transfer->receive;
2163
                $messages->{'TransferArrived'} = $transfer->frombranch;
2163
                $messages->{'TransferArrived'} = $transfer->frombranch;
2164
                # validTransfer=1 allows us returning the item back if the reserve is cancelled
2164
                # validTransfer=1 allows us returning the item back if the reserve is cancelled
2165
                $validTransfer = 1 if $transfer->reason eq 'Reserve';
2165
                $validTransfer = 1 if defined $transfer->reason and $transfer->reason eq 'Reserve';
2166
            }
2166
            }
2167
            else {
2167
            else {
2168
                $messages->{'WrongTransfer'}     = $transfer->tobranch;
2168
                $messages->{'WrongTransfer'}     = $transfer->tobranch;
2169
- 

Return to bug 25260