View | Details | Raw Unified | Return to bug 17765
Collapse All | Expand All

(-)a/circ/circulation.pl (-3 / +5 lines)
Lines 176-184 my $print = $query->param('print') || q{}; Link Here
176
my $debt_confirmed = $query->param('debt_confirmed') || 0; # Don't show the debt error dialog twice
176
my $debt_confirmed = $query->param('debt_confirmed') || 0; # Don't show the debt error dialog twice
177
my $charges        = $query->param('charges') || q{};
177
my $charges        = $query->param('charges') || q{};
178
178
179
my $flags = C4::Auth::getuserflags($patron->flags, $patron->userid);
179
my $userflags = C4::Auth::getuserflags($patron->flags, $patron->userid);
180
if (ref $flags->{reserveforothers} && $flags->{reserveforothers}){
180
warn($userflags->{reserveforothers});
181
    $template->param( has_reserveforothers_permission => 1 )}
181
if ($userflags->{reserveforothers}){
182
    $template->param( has_reserveforothers_permission => 1 );
183
}
182
184
183
# Check if stickyduedate is turned off
185
# Check if stickyduedate is turned off
184
if ( @$barcodes ) {
186
if ( @$barcodes ) {
(-)a/members/moremember.pl (-3 / +2 lines)
Lines 167-174 if ( $patron->is_debarred ) { Link Here
167
    }
167
    }
168
}
168
}
169
169
170
my $flags = C4::Auth::getuserflags($patron->flags, $patron->userid);
170
my $userflags = C4::Auth::getuserflags($patron->flags, $patron->userid);
171
if (ref $flags->{reserveforothers} && $flags->{reserveforothers}){
171
if ($userflags->{reserveforothers}){
172
    $template->param( has_reserveforothers_permission => 1);
172
    $template->param( has_reserveforothers_permission => 1);
173
}
173
}
174
174
175
- 

Return to bug 17765