From 530879b4097d12cf774ba0d1cfa7673981e136b4 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Wed, 31 Oct 2001 11:31:00 +0000 Subject: Fixing tinderbox bustage (removing s and adding a "use vars" line) --- Bugzilla/Bug.pm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 8b4243c25..ea159ccdc 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -27,6 +27,7 @@ use strict; use DBI; use RelationSet; +use vars qw($unconfirmedstate $legal_keywords); require "globals.pl"; require "CGI.pl"; package Bug; @@ -86,7 +87,7 @@ sub initBug { } else { if ($user_id =~ /^\@/) { - $user_id = &::DBname_to_id($user_id); + $user_id = &::DBname_to_id($user_id); } } @@ -127,11 +128,11 @@ sub initBug { "bug_file_loc", "short_desc", "target_milestone", "qa_contact", "status_whiteboard", "creation_ts", "groupset", "delta_ts", "votes") { - $fields{$field} = shift @row; - if ($fields{$field}) { - $self->{$field} = $fields{$field}; - } - $count++; + $fields{$field} = shift @row; + if ($fields{$field}) { + $self->{$field} = $fields{$field}; + } + $count++; } } else { &::SendSQL("select groupset from bugs where bug_id = $bug_id"); -- cgit v1.2.3-24-g4f1b