diff --git a/webtools/bugzilla/showattachment.cgi b/webtools/bugzilla/showattachment.cgi index ae81117e51bf..78143c550762 100755 --- a/webtools/bugzilla/showattachment.cgi +++ b/webtools/bugzilla/showattachment.cgi @@ -26,6 +26,19 @@ use strict; require "CGI.pl"; +if (!defined $::FORM{'attach_id'}) { + print "Content-type: text/html\n"; + print "\n"; + PutHeader("Search by attachment number"); + print "
\n"; + PutFooter(); + exit; +} + ConnectToDatabase(); quietly_check_login();