Lines 1352-1359
sub IsAvailableForItemLevelRequest {
Link Here
|
1352 |
|
1352 |
|
1353 |
# if we have this param predefined from outer caller sub, we just need |
1353 |
# if we have this param predefined from outer caller sub, we just need |
1354 |
# to return it, so we saving from having loop inside other loop: |
1354 |
# to return it, so we saving from having loop inside other loop: |
1355 |
return $items_any_available ? 0 : 1 |
1355 |
return $items_any_available if defined $items_any_available; |
1356 |
if defined $items_any_available; |
|
|
1357 |
|
1356 |
|
1358 |
my $any_available = ItemsAnyAvailableAndNotRestricted( { biblionumber => $item->biblionumber, patron => $patron }); |
1357 |
my $any_available = ItemsAnyAvailableAndNotRestricted( { biblionumber => $item->biblionumber, patron => $patron }); |
1359 |
return $any_available ? 0 : 1; |
1358 |
return $any_available ? 0 : 1; |
1360 |
- |
|
|