#!/usr/bin/perl -Tw
#
-# $Id: cust_main.cgi,v 1.11 1999-04-09 04:22:34 ivan Exp $
+# $Id: cust_main.cgi,v 1.12 1999-07-17 10:38:52 ivan Exp $
#
# Usage: post form to:
# http://server.name/path/cust_main.cgi
# display total, use FS::CGI ivan@sisd.com 98-jul-17
#
# $Log: cust_main.cgi,v $
-# Revision 1.11 1999-04-09 04:22:34 ivan
+# Revision 1.12 1999-07-17 10:38:52 ivan
+# scott nelson <scott@ultimanet.com> noticed this mod_perl-triggered bug and
+# gave me a great bugreport at the last rhythmethod
+#
+# Revision 1.11 1999/04/09 04:22:34 ivan
# also table()
#
# Revision 1.10 1999/04/09 03:52:55 ivan
@cust_main=qsearch('cust_main',{});
}
} else {
+ @cust_main=();
&cardsearch if ( $cgi->param('card_on') && $cgi->param('card') );
&lastsearch if ( $cgi->param('last_on') && $cgi->param('last_text') );
&companysearch if ( $cgi->param('company_on') && $cgi->param('company_text') );
#!/usr/bin/perl -Tw
#
-# $Id: cust_pkg.cgi,v 1.8 1999-02-09 09:22:57 ivan Exp $
+# $Id: cust_pkg.cgi,v 1.9 1999-07-17 10:38:52 ivan Exp $
#
# based on search/svc_acct.cgi ivan@sisd.com 98-jul-17
#
# $Log: cust_pkg.cgi,v $
-# Revision 1.8 1999-02-09 09:22:57 ivan
+# Revision 1.9 1999-07-17 10:38:52 ivan
+# scott nelson <scott@ultimanet.com> noticed this mod_perl-triggered bug and
+# gave me a great bugreport at the last rhythmethod
+#
+# Revision 1.8 1999/02/09 09:22:57 ivan
# visual and bugfixes
#
# Revision 1.7 1999/02/07 09:59:37 ivan
@cust_pkg=qsearch('cust_pkg',{});
} elsif ( $query eq 'APKG_pkgnum' ) {
$sortby=\*pkgnum_sort;
-
+ @cust_pkg=();
#perhaps this should go in cust_pkg as a qsearch-like constructor?
my($cust_pkg);
foreach $cust_pkg (qsearch('cust_pkg',{})) {
#!/usr/bin/perl -Tw
#
-# $Id: svc_domain.cgi,v 1.9 1999-04-15 13:39:16 ivan Exp $
+# $Id: svc_domain.cgi,v 1.10 1999-07-17 10:38:52 ivan Exp $
#
# Usage: post form to:
# http://server.name/path/svc_domain.cgi
# display total, use FS::CGI now does browsing too ivan@sisd.com 98-jul-17
#
# $Log: svc_domain.cgi,v $
-# Revision 1.9 1999-04-15 13:39:16 ivan
+# Revision 1.10 1999-07-17 10:38:52 ivan
+# scott nelson <scott@ultimanet.com> noticed this mod_perl-triggered bug and
+# gave me a great bugreport at the last rhythmethod
+#
+# Revision 1.9 1999/04/15 13:39:16 ivan
# $cgi->header( '-expires' => 'now' )
#
# Revision 1.8 1999/02/28 00:03:57 ivan
} else {
$cgi->param('domain') =~ /^([\w\-\.]+)$/;
my($domain)=$1;
- push @svc_domain, qsearchs('svc_domain',{'domain'=>$domain});
+ #push @svc_domain, qsearchs('svc_domain',{'domain'=>$domain});
+ @svc_domain = qsearchs('svc_domain',{'domain'=>$domain});
}
if ( scalar(@svc_domain) == 1 ) {