diff options
author | jeff <jeff> | 2007-10-08 19:14:28 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-10-08 19:14:28 +0000 |
commit | 718f65eee1c797ea90a315b5f03fae75c80a5112 (patch) | |
tree | b401a06d365a615c390d38f4a7ccbdabe9bc00ac /httemplate/search/reg_code.html | |
parent | 9fd3c8211ebccf727d1c048620d1527926a3b779 (diff) |
Remove remaining calls to idiot/eidiot. Should fix 1479
Diffstat (limited to 'httemplate/search/reg_code.html')
-rw-r--r-- | httemplate/search/reg_code.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/reg_code.html b/httemplate/search/reg_code.html index 87e0fcdd5..f65b00d05 100644 --- a/httemplate/search/reg_code.html +++ b/httemplate/search/reg_code.html @@ -31,10 +31,10 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); 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 } ); my $count_query = "SELECT COUNT(*) FROM reg_code WHERE agentnum = $agentnum"; -<%init> +</%init> |