diff options
author | ivan <ivan> | 2002-07-07 11:45:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-07-07 11:45:39 +0000 |
commit | 589e9de82292f85a9f09b3075375342db42a0614 (patch) | |
tree | 18042f068953ea510a6b29c79c14e6f10344306e | |
parent | d83a273f3ac71431f5b007bb83fb55d7c83eae5c (diff) |
wtf?
-rwxr-xr-x | httemplate/search/cust_bill.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/cust_bill.cgi b/httemplate/search/cust_bill.cgi index d6492fe49..b49296b80 100755 --- a/httemplate/search/cust_bill.cgi +++ b/httemplate/search/cust_bill.cgi @@ -97,7 +97,8 @@ if ( $cgi->keywords ) { } #if ( scalar(@cust_bill) == 1 ) { -if ( $total == 1 ) { +if ( scalar(@cust_bill) == 1 && $total == 1) { +#if ( $total == 1 ) { my $invnum = $cust_bill[0]->invnum; print $cgi->redirect(popurl(2). "view/cust_bill.cgi?$invnum"); #redirect } elsif ( scalar(@cust_bill) == 0 ) { |