diff options
| author | ivan <ivan> | 2001-12-03 11:33:19 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2001-12-03 11:33:19 +0000 |
| commit | 301ef098a56e1fc011d26d1f108a48e99ad701f4 (patch) | |
| tree | 3dc67723ccb9849d9b7bc3c65709cb7c50bb5de2 /httemplate/search/cust_main.cgi | |
| parent | 63ec39a8c2a32b5ac325c4973945a26398678347 (diff) | |
paged service browse!!
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 d5bc17aec..b9b1d1fb2 100755 --- a/httemplate/search/cust_main.cgi +++ b/httemplate/search/cust_main.cgi @@ -1,5 +1,5 @@ <% -#<!-- $Id: cust_main.cgi,v 1.17 2001-12-03 10:59:25 ivan Exp $ --> +#<!-- $Id: cust_main.cgi,v 1.18 2001-12-03 11:33:19 ivan Exp $ --> use strict; #use vars qw( $conf %ncancelled_pkgs %all_pkgs $cgi @cust_main $sortby ); @@ -110,7 +110,7 @@ if ( $cgi->param('browse') ) { or die dbh->errstr. " doing $statement"; $sth->execute or die "Error executing \"$statement\": ". $sth->errstr; - $total = @{$sth->fetchrow_arrayref}[0]; + $total = $sth->fetchrow_arrayref->[0]; my @just_cust_main = qsearch('cust_main',{}, '', "$ncancelled $orderby $limit" |
