diff options
author | ivan <ivan> | 2003-09-24 01:30:37 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-09-24 01:30:37 +0000 |
commit | 50ae1571b51626d2dd1cb878b94dff6fec747408 (patch) | |
tree | b6cf7253a3e729f09b630f75fed2d707c0d02f49 | |
parent | 8ba4df7e0fab1faa2032b8311a195d297502e4b2 (diff) |
fix boolean precedence error leading to inaccurate results on the new customer
status list
-rwxr-xr-x | httemplate/browse/agent.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
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 |