Tidying up more warnings.
This commit is contained in:
parent
31f1338c26
commit
c459c0f5d2
|
|
@ -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'}){
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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'}){
|
||||
|
|
|
|||
|
|
@ -54,7 +54,8 @@ $date
|
|||
|
||||
EOP
|
||||
;
|
||||
my ($count,@results)=invoice($invoice);
|
||||
my @results;
|
||||
($count,@results)=invoice($invoice);
|
||||
if ($invoice eq ''){
|
||||
($count,@results)=getallorders($id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue