Tidying up more warnings.

This commit is contained in:
rangi 2002-05-26 09:13:45 +00:00
parent 31f1338c26
commit c459c0f5d2
4 changed files with 12 additions and 11 deletions

View File

@ -190,7 +190,8 @@ print <<EOP
<td><select name=bookfund size=1>
EOP
;
my ($count2,@bookfund)=bookfunds;
my @bookfund;
($count2,@bookfund)=bookfunds();
for (my $i=0;$i<$count2;$i++){
print "<option value=$bookfund[$i]->{'bookfundid'}";
if ($bookfund[$i]->{'bookfundid'}==$results[0]->{'bookfundid'}){

View File

@ -24,7 +24,6 @@ my $secondary;
#print $input->dump;
my $blah;
my %search;
#build hash of users input
my $title=$input->param('search');
@ -68,16 +67,15 @@ printend
;
print center();
my $count;
my @results;
if ($keyword ne ''){
# print "hey";
($count,@results)=&KeywordSearch(\$blah,'intra',\%search,$num,$offset);
($count,@results)=KeywordSearch(undef,'intra',\%search,$num,$offset);
} elsif ($search{'front'} ne '') {
($count,@results)&FrontSearch(\$blah,'intra',\%search,$num,$offset);
($count,@results)=FrontSearch(undef,'intra',\%search,$num,$offset);
}else {
($count,@results)=&CatSearch(\$blah,'loose',\%search,$num,$offset);
($count,@results)=CatSearch(undef,'loose',\%search,$num,$offset);
# print "hey";
}

View File

@ -187,7 +187,8 @@ print <<printend
<td><select name=branch size=1>
printend
;
my ($count2,@branches)=branches;
my @branches;
($count2,@branches)=branches();
for (my $i=0;$i<$count2;$i++){
print "<option value=$branches[$i]->{'branchcode'}";
if ($data->{'branchcode'} == $branches[$i]->{'branchcode'}){
@ -236,8 +237,8 @@ print <<printend
<td><select name=bookfund size=1>
printend
;
my ($count2,@bookfund)=bookfunds;
my @bookfund;
($count2,@bookfund)=bookfunds();
for (my $i=0;$i<$count2;$i++){
print "<option value=$bookfund[$i]->{'bookfundid'}";
if ($data->{'bookfundid'} == $bookfund[$i]->{'bookfundid'}){

View File

@ -54,7 +54,8 @@ $date
EOP
;
my ($count,@results)=invoice($invoice);
my @results;
($count,@results)=invoice($invoice);
if ($invoice eq ''){
($count,@results)=getallorders($id);
}