diff options
| author | ivan <ivan> | 2001-08-28 16:58:08 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2001-08-28 16:58:08 +0000 |
| commit | 5e99168da38e7616fc726242ce7d85e140f22c6f (patch) | |
| tree | b253e9fb12bd165ddd7ca8d32731fa947b219c3c /httemplate/search/cust_main.cgi | |
| parent | aa7b51c0794f6a61e522fbba978f6c64446d8696 (diff) | |
customer-to-customer referrals in singup server
Diffstat (limited to 'httemplate/search/cust_main.cgi')
| -rwxr-xr-x | httemplate/search/cust_main.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi index d038896f6..5defaf4af 100755 --- a/httemplate/search/cust_main.cgi +++ b/httemplate/search/cust_main.cgi @@ -1,5 +1,5 @@ <% -#<!-- $Id: cust_main.cgi,v 1.3 2001-08-28 14:34:14 ivan Exp $ --> +#<!-- $Id: cust_main.cgi,v 1.4 2001-08-28 16:58:08 ivan Exp $ --> use strict; #use vars qw( $conf %ncancelled_pkgs %all_pkgs $cgi @cust_main $sortby ); @@ -81,7 +81,7 @@ if ( scalar(@cust_main) == 1 && ! $cgi->param('referral_custnum') ) { END print ' <SELECT NAME="referral_depth" SIZE="1" onChange="changed(this)">'; my $max = 8; #config file - $cgi->param('referral_depth') =~ /^(\d+)$/ + $cgi->param('referral_depth') =~ /^(\d*)$/ or eidiot "Illegal referral_depth"; my $referral_depth = $1; |
