|
Lines 292-298
sub CanBookBeReserved{
Link Here
|
| 292 |
|
292 |
|
| 293 |
# Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set) |
293 |
# Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set) |
| 294 |
if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions') |
294 |
if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions') |
| 295 |
&& C4::Circulation::CheckIfIssuedToPatron( $patron->borrowernumber, $biblio->biblionumber ) ) { |
295 |
&& C4::Circulation::CheckIfIssuedToPatron( $borrowernumber, $biblionumber ) ) { |
| 296 |
return { status =>'itemAlreadyOnLoan' }; |
296 |
return { status =>'itemAlreadyOnLoan' }; |
| 297 |
} |
297 |
} |
| 298 |
|
298 |
|
| 299 |
- |
|
|