summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-02-20 22:45:29 +0000
committerivan <ivan>2008-02-20 22:45:29 +0000
commitad43e1c50179b50d09538274fd9ec932edbad173 (patch)
tree0d3207b0025ed90e6fe2d22bf56d3216af11e1c5
parentc08ff0f1990dc75050ce062ede736e534bc8ef18 (diff)
doh. ivan is so in the doghouse for this one
-rw-r--r--httemplate/misc/inventory_item-import.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/inventory_item-import.html b/httemplate/misc/inventory_item-import.html
index 423d0d672..f3636c0e7 100644
--- a/httemplate/misc/inventory_item-import.html
+++ b/httemplate/misc/inventory_item-import.html
@@ -16,7 +16,7 @@ Filename: <INPUT TYPE="file" NAME="filename"><BR><BR>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Import');
-$cgi->param =~ /^(\d+)$/ or errorpage("illegal classnum $classnum");
+$cgi->param =~ /^(\d+)$/ or errorpage("illegal classnum");
my $classnum = $1;
my $inventory_class = qsearchs('inventory_class', { 'classnum' => $classnum } );