Skip to content
Browse files

Merge pull request #129 from hgq/11_12_pt1667219_4_08

11 12 pt1667219 4 08
  • Loading branch information...
2 parents 2ae5cc0 + e33c7a9 commit d9c338ab2b0551f03fcdbd0b08814492907327e8 @ctfliblime ctfliblime committed
Showing with 3 additions and 3 deletions.
  1. +2 −2 C4/Circulation.pm
  2. +1 −1 circ/circulation.pl
View
4 C4/Circulation.pm
@@ -1109,7 +1109,7 @@ sub AddIssue {
if (($resbor eq $borrower->{'borrowernumber'}) || ($howReserve eq 'fill')) {
if ($howReserve eq 'requeue') {
if ($$res{priority} == 0) {
- ModReserve(1,$res->{'biblionumber'},
+ C4::Reserves::ModReserve(1,$res->{'biblionumber'},
$res->{'borrowernumber'},
$res->{'branchcode'},
undef, ## $res->{'itemnumber'},
@@ -1130,7 +1130,7 @@ sub AddIssue {
## FIXME: requeue as bib-level hold is temporary until we get
## a permanent fix for retaining bib- or item-level hold
if (($$res{priority}==0) || ($$res{found} ~~ 'W')) {
- ModReserve(1,$res->{'biblionumber'},
+ C4::Reserves::ModReserve(1,$res->{'biblionumber'},
$res->{'borrowernumber'},
$res->{'branchcode'},
undef, ## $res->{'itemnumber'},
View
2 circ/circulation.pl
@@ -192,7 +192,7 @@ sub FormatFinesSummary {
if ($query->param('reserve_confirmed')) {
my $perm = C4::Auth::haspermission(C4::Context->userenv->{id}, {superlibrarian => 1});
- if ($$perm{superlibrarian}) {
+ if ($perm) {
$issueconfirmed = 1;
}
elsif (C4::Context->preference('DisableHoldsIssueOverrideUnlessAuthorised')) {

0 comments on commit d9c338a

Please sign in to comment.
Something went wrong with that request. Please try again.