X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htdocs%2Fsearch%2Fsvc_domain.cgi;h=7322652109ebd839b40a03a59d9b44bb192c7d23;hp=cb704a3c4761cae66a75a8a0592f6aa0873f0b30;hb=e0da34d97b1463b55a334e8dae10cd55796e2312;hpb=899b323ee2feeaf78afdb40526eb75995fe72cad diff --git a/htdocs/search/svc_domain.cgi b/htdocs/search/svc_domain.cgi index cb704a3c4..732265210 100755 --- a/htdocs/search/svc_domain.cgi +++ b/htdocs/search/svc_domain.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: svc_domain.cgi,v 1.4 1999-01-19 05:14:17 ivan Exp $ +# $Id: svc_domain.cgi,v 1.5 1999-02-07 09:59:39 ivan Exp $ # # Usage: post form to: # http://server.name/path/svc_domain.cgi @@ -17,7 +17,10 @@ # display total, use FS::CGI now does browsing too ivan@sisd.com 98-jul-17 # # $Log: svc_domain.cgi,v $ -# Revision 1.4 1999-01-19 05:14:17 ivan +# Revision 1.5 1999-02-07 09:59:39 ivan +# more mod_perl fixes, and bugfixes Peter Wemm sent via email +# +# Revision 1.4 1999/01/19 05:14:17 ivan # for mod_perl: no more top-level my() variables; use vars instead # also the last s/create/new/; # @@ -34,7 +37,7 @@ use CGI; use CGI::Carp qw(fatalsToBrowser); use FS::UID qw(cgisuidsetup); use FS::Record qw(qsearch qsearchs); -use FS::CGI qw(header idiot popurl); +use FS::CGI qw(header eidiot popurl); $cgi = new CGI; &cgisuidsetup($cgi); @@ -68,8 +71,7 @@ if ( scalar(@svc_domain) == 1 ) { print $cgi->redirect(popurl(2). "view/svc_domain.cgi?". $svc_domain[0]->svcnum); exit; } elsif ( scalar(@svc_domain) == 0 ) { - idiot "No matching domains found!\n"; - exit; + eidiot "No matching domains found!\n"; } else { CGI::Base::SendHeaders(); # one guess