scott nelson <scott@ultimanet.com> noticed this mod_perl-triggered bug and
authorivan <ivan>
Sat, 17 Jul 1999 10:38:52 +0000 (10:38 +0000)
committerivan <ivan>
Sat, 17 Jul 1999 10:38:52 +0000 (10:38 +0000)
gave me a great bugreport at the last rhythmethod

htdocs/search/cust_main.cgi
htdocs/search/cust_pkg.cgi
htdocs/search/svc_domain.cgi

index 099b3c0..9af2fce 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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
@@ -81,6 +85,7 @@ if ( $cgi->keywords ) {
     @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') );
index c48a3c7..033bc25 100755 (executable)
@@ -1,11 +1,15 @@
 #!/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
@@ -51,7 +55,7 @@ if ( $query eq 'pkgnum' ) {
   @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',{})) {
index 21a3b75..bf85e4a 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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
@@ -81,7 +85,8 @@ if ( $query eq 'svcnum' ) {
 } 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 ) {