Lines 327-333
sub transferbook {
Link Here
|
327 |
my $trigger = $params->{trigger}; |
327 |
my $trigger = $params->{trigger}; |
328 |
my $messages; |
328 |
my $messages; |
329 |
my $dotransfer = 1; |
329 |
my $dotransfer = 1; |
330 |
my $item = Koha::Items->find( { barcode => $barcode } ); |
330 |
my $item = $barcode ? Koha::Items->find( { barcode => $barcode } ) : undef; |
331 |
|
331 |
|
332 |
Koha::Exceptions::MissingParameter->throw( |
332 |
Koha::Exceptions::MissingParameter->throw( |
333 |
"Missing mandatory parameter: from_branch") |
333 |
"Missing mandatory parameter: from_branch") |
334 |
- |
|
|