[freeside-commits] freeside/httemplate/edit rate_region.cgi, 1.3, 1.4 reg_code.cgi, 1.3, 1.4
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Oct 8 12:14:28 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv9767/httemplate/edit
Modified Files:
rate_region.cgi reg_code.cgi
Log Message:
Remove remaining calls to idiot/eidiot. Should fix 1479
Index: rate_region.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/rate_region.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- rate_region.cgi 23 Aug 2006 22:25:37 -0000 1.3
+++ rate_region.cgi 8 Oct 2007 19:14:26 -0000 1.4
@@ -27,7 +27,7 @@
%if ( @rate_prefix ) {
% $countrycode = $rate_prefix[0]->countrycode;
% foreach my $rate_prefix ( @rate_prefix ) {
-% eidiot 'multiple country codes per region not yet supported by web UI'
+% errorpage('multiple country codes per region not yet supported by web UI')
% unless $rate_prefix->countrycode eq $countrycode;
% }
%}
Index: reg_code.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/reg_code.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- reg_code.cgi 23 Aug 2006 22:25:37 -0000 1.3
+++ reg_code.cgi 8 Oct 2007 19:14:26 -0000 1.4
@@ -1,6 +1,6 @@
%
%my $agentnum = $cgi->param('agentnum');
-%$agentnum =~ /^(\d+)$/ or eidiot "illegal agentnum $agentnum";
+%$agentnum =~ /^(\d+)$/ or errorpage("illegal agentnum $agentnum");
%$agentnum = $1;
%my $agent = qsearchs('agent', { 'agentnum' => $agentnum } );
%
More information about the freeside-commits
mailing list