summaryrefslogtreecommitdiff
path: root/httemplate/browse
diff options
context:
space:
mode:
authorivan <ivan>2003-11-03 05:57:28 +0000
committerivan <ivan>2003-11-03 05:57:28 +0000
commitd9c51bdc266798d01247e0ff72f6d64aefb91a2e (patch)
treea8691e10d9bcb01f7aed083a64e25bb5086ccb6a /httemplate/browse
parentde38e11cb5a40c78ef5543f59f6ce968e7fd613b (diff)
add suspended/canceled browse, fix the old suspended browse
Diffstat (limited to 'httemplate/browse')
-rwxr-xr-xhttemplate/browse/part_pkg.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi
index 9dc8860fb..efaa59e00 100755
--- a/httemplate/browse/part_pkg.cgi
+++ b/httemplate/browse/part_pkg.cgi
@@ -32,12 +32,12 @@ if ( $cgi->param('active') ) {
$suspended_sth = dbh->prepare(
'SELECT COUNT(*) FROM cust_pkg WHERE pkgpart = ?'.
' AND ( cancel IS NULL OR cancel = 0 )'.
- ' AND susp IS NOT NULL AND susp > 0'
+ ' AND susp IS NOT NULL AND susp != 0'
) or die dbh->errstr;
$canceled_sth = dbh->prepare(
'SELECT COUNT(*) FROM cust_pkg WHERE pkgpart = ?'.
- ' AND cancel IS NOT NULL AND cancel > 0'
+ ' AND cancel IS NOT NULL AND cancel != 0'
) or die dbh->errstr;
} else {