From: ivan Date: Wed, 24 Sep 2003 01:30:37 +0000 (+0000) Subject: fix boolean precedence error leading to inaccurate results on the new customer X-Git-Tag: NET_WHOIS_RAW_0_31~390 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=50ae1571b51626d2dd1cb878b94dff6fec747408 fix boolean precedence error leading to inaccurate results on the new customer status list --- diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi index 79f6c3dcf..0d808cd0d 100755 --- a/httemplate/browse/agent.cgi +++ b/httemplate/browse/agent.cgi @@ -18,7 +18,7 @@ my $ncancelled_sth = dbh->prepare("SELECT COUNT(*) FROM cust_main WHERE agentnum = ? - AND $ncancelled ") + AND ( $ncancelled ) ") or die dbh->errstr; my $total_sth = dbh->prepare("SELECT COUNT(*) FROM cust_main