|
Lines 277-283
sub CanBookBeReserved{
Link Here
|
| 277 |
|
277 |
|
| 278 |
# Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set) |
278 |
# Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set) |
| 279 |
if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions') |
279 |
if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions') |
| 280 |
&& C4::Circulation::CheckIfIssuedToPatron( $patron->borrowernumber, $biblio->biblionumber ) ) { |
280 |
&& C4::Circulation::CheckIfIssuedToPatron( $borrowernumber, $biblionumber ) ) { |
| 281 |
return { status =>'itemAlreadyOnLoan' }; |
281 |
return { status =>'itemAlreadyOnLoan' }; |
| 282 |
} |
282 |
} |
| 283 |
|
283 |
|
| 284 |
- |
|
|