summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-02 07:07:08 +0200
committergerv%gerv.net <>2002-10-02 07:07:08 +0200
commit8d6671f06bf7d6864cffcaccf4ef4b7e09b80675 (patch)
tree74f1cfdd96abaacbac19d54d10bacf17e25e4f1c /enter_bug.cgi
parent5f576f463b01c35b411ac14d3a342ec0003e24cf (diff)
downloadbugzilla-8d6671f06bf7d6864cffcaccf4ef4b7e09b80675.tar.gz
bugzilla-8d6671f06bf7d6864cffcaccf4ef4b7e09b80675.tar.xz
Bug 170903 - Remove hard-coded titles and things. Patch by gerv; r=bbaetz.
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi7
1 files changed, 1 insertions, 6 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index a7733ec3e..f53c63dd6 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -88,9 +88,6 @@ if (!defined $::FORM{'product'}) {
$vars->{'target'} = "enter_bug.cgi";
$vars->{'format'} = $::FORM{'format'};
- $vars->{'title'} = "Enter Bug";
- $vars->{'h2'} =
- "First, you must pick a product on which to enter a bug.";
print "Content-type: text/html\n\n";
$template->process("global/choose-product.html.tmpl", $vars)
@@ -284,7 +281,6 @@ $default{'component_'} = formvalue('component');
$vars->{'assigned_to'} = formvalue('assigned_to');
$vars->{'cc'} = formvalue('cc');
$vars->{'reporter'} = $::COOKIE{'Bugzilla_login'};
-$vars->{'user_agent'} = $ENV{'HTTP_USER_AGENT'};
$vars->{'product'} = $product;
$vars->{'bug_file_loc'} = formvalue('bug_file_loc', "http://");
$vars->{'short_desc'} = formvalue('short_desc');
@@ -352,8 +348,7 @@ while (MoreSQLData()) {
my $check;
# If this is the group for this product, make it checked.
- if(formvalue("maketemplate") eq
- "Remember values as bookmarkable template")
+ if(formvalue("maketemplate") ne "")
{
# If this is a bookmarked template, then we only want to set the
# bit for those bits set in the template.