diff options
author | ivan <ivan> | 1999-12-17 02:33:23 +0000 |
---|---|---|
committer | ivan <ivan> | 1999-12-17 02:33:23 +0000 |
commit | 31c2cb41e1ede74a570b2559d326b4a1361a1223 (patch) | |
tree | 26cc0152e061635c9ccb1144bece2b88d6ce5452 | |
parent | 8a45867abd9f8349bec410910af8ad166e1434a5 (diff) |
argh
-rwxr-xr-x | htdocs/edit/cust_main.cgi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/htdocs/edit/cust_main.cgi b/htdocs/edit/cust_main.cgi index 7be84c1fc..e1262c542 100755 --- a/htdocs/edit/cust_main.cgi +++ b/htdocs/edit/cust_main.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: cust_main.cgi,v 1.21 1999-08-23 07:40:38 ivan Exp $ +# $Id: cust_main.cgi,v 1.22 1999-12-17 02:33:23 ivan Exp $ # # Usage: cust_main.cgi custnum # http://server.name/path/cust_main.cgi?custnum @@ -38,7 +38,10 @@ # fixed one missed day->daytime ivan@sisd.com 98-jul-13 # # $Log: cust_main.cgi,v $ -# Revision 1.21 1999-08-23 07:40:38 ivan +# Revision 1.22 1999-12-17 02:33:23 ivan +# argh +# +# Revision 1.21 1999/08/23 07:40:38 ivan # missing </TD> flag # # Revision 1.20 1999/08/23 07:08:11 ivan @@ -185,7 +188,7 @@ $r = qq!<font color="#ff0000">*</font>!; @agents = qsearch( 'agent', {} ); #die "No agents created!" unless @agents; -die "You have not created any agents. You must create at least one agent before adding a customer. <a href=\"". popurl(2). "browse/agent.cgi\">Create at least one agent here.</a>" unless @agents; +die "You have not created any agents. You must create at least one agent before adding a customer. Go to ". popurl(2). "browse/agent.cgi and create one or more agents." unless @agents; $agentnum = $cust_main->agentnum || $agents[0]->agentnum; #default to first if ( scalar(@agents) == 1 ) { print qq!<INPUT TYPE="hidden" NAME="agentnum" VALUE="$agentnum">!; |