Bug 2505: Enabled warnings in members/patronimage.pl and setdebar.pl.
Fixed resulting warnings after warnings was enabled. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
7f25142410
commit
aae0efd051
2 changed files with 5 additions and 2 deletions
|
@ -21,6 +21,8 @@
|
|||
#
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use CGI; #qw(:standard escapeHTML);
|
||||
use C4::Context;
|
||||
use C4::Members;
|
||||
|
@ -33,7 +35,7 @@ my $cardnumber;
|
|||
|
||||
=head1 NAME
|
||||
|
||||
patronimage.pl - Script for retrieving and formating Koha patron images for display
|
||||
patronimage.pl - Script for retrieving and formatting Koha patron images for display
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ by oleonard@athenscounty.lib.oh.us
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use CGI;
|
||||
use C4::Context;
|
||||
|
@ -39,7 +40,7 @@ $flagsrequired->{borrowers} = 1;
|
|||
my ( $loggedinuser, $cookie, $sessionID ) =
|
||||
checkauth( $input, 0, $flagsrequired );
|
||||
|
||||
my $destination = $input->param("destination");
|
||||
my $destination = $input->param("destination") || '';
|
||||
my $cardnumber = $input->param("cardnumber");
|
||||
my $borrowernumber = $input->param('borrowernumber');
|
||||
my $status = $input->param('status');
|
||||
|
|
Loading…
Reference in a new issue