summaryrefslogtreecommitdiff
path: root/httemplate/edit/reg_code.cgi
diff options
context:
space:
mode:
authorjeff <jeff>2007-10-08 19:14:28 +0000
committerjeff <jeff>2007-10-08 19:14:28 +0000
commit718f65eee1c797ea90a315b5f03fae75c80a5112 (patch)
treeb401a06d365a615c390d38f4a7ccbdabe9bc00ac /httemplate/edit/reg_code.cgi
parent9fd3c8211ebccf727d1c048620d1527926a3b779 (diff)
Remove remaining calls to idiot/eidiot. Should fix 1479
Diffstat (limited to 'httemplate/edit/reg_code.cgi')
-rw-r--r--httemplate/edit/reg_code.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/reg_code.cgi b/httemplate/edit/reg_code.cgi
index 06bef4879..f5f0f7b66 100644
--- a/httemplate/edit/reg_code.cgi
+++ b/httemplate/edit/reg_code.cgi
@@ -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 } );
%