summaryrefslogtreecommitdiff
path: root/httemplate/search/inventory_item.html
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/search/inventory_item.html
parent2ad6056b681be4cdec55563c8889eb5afd2032ca (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( {