summaryrefslogtreecommitdiff
path: root/httemplate/edit/reg_code.cgi
diff options
context:
space:
mode:
authorjeff <jeff>2007-10-08 19:04:50 +0000
committerjeff <jeff>2007-10-08 19:04:50 +0000
commitde08f05ca3392cd47de0a144fd5938f458f2b4cc (patch)
tree7ddfaccf94a857c899524d77a096bed169ea03f5 /httemplate/edit/reg_code.cgi
parent2ad6056b681be4cdec55563c8889eb5afd2032ca (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 } );
%