Remove remaining calls to idiot/eidiot. Should fix 1479
[freeside.git] / httemplate / edit / process / reg_code.cgi
index 4fdea60..d93bb55 100644 (file)
@@ -1,7 +1,7 @@
 %
 %
 %$cgi->param('agentnum') =~ /^(\d+)$/
-%  or eidiot 'illegal agentnum '. $cgi->param('agentnum');
+%  or errorpage('illegal agentnum '. $cgi->param('agentnum'));
 %my $agentnum = $1;
 %my $agent = qsearchs('agent', { 'agentnum' => $agentnum } );
 %