summaryrefslogtreecommitdiff
path: root/httemplate/search/inventory_item.html
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/search/inventory_item.html
parent9fd3c8211ebccf727d1c048620d1527926a3b779 (diff)
Remove remaining calls to idiot/eidiot. Should fix 1479
Diffstat (limited to 'httemplate/search/inventory_item.html')
-rw-r--r--httemplate/search/inventory_item.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/inventory_item.html b/httemplate/search/inventory_item.html
index 1e7bdd91c..cd37e267b 100644
--- a/httemplate/search/inventory_item.html
+++ b/httemplate/search/inventory_item.html
@@ -77,7 +77,7 @@ die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
my $classnum = $cgi->param('classnum');
-$classnum =~ /^(\d+)$/ or eidiot "illegal classnum $classnum";
+$classnum =~ /^(\d+)$/ or errorpage("illegal classnum $classnum");
$classnum = $1;
my $inventory_class = qsearchs( {