diff options
author | jake%acutex.net <> | 2001-10-31 12:31:00 +0100 |
---|---|---|
committer | jake%acutex.net <> | 2001-10-31 12:31:00 +0100 |
commit | 530879b4097d12cf774ba0d1cfa7673981e136b4 (patch) | |
tree | 6f09db3e610be9b34c9fca086b7d36e4f69be30b /Bugzilla | |
parent | 6123fc3f0c529e474ea338c109b49af3fec6b52e (diff) | |
download | bugzilla-530879b4097d12cf774ba0d1cfa7673981e136b4.tar.gz bugzilla-530879b4097d12cf774ba0d1cfa7673981e136b4.tar.xz |
Fixing tinderbox bustage (removing <Tab>s and adding a "use vars" line)
Diffstat (limited to 'Bugzilla')
-rwxr-xr-x | Bugzilla/Bug.pm | 13 | ||||
-rw-r--r-- | Bugzilla/RelationSet.pm | 4 |
2 files changed, 9 insertions, 8 deletions
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"); diff --git a/Bugzilla/RelationSet.pm b/Bugzilla/RelationSet.pm index 4b778a6fd..bfd572400 100644 --- a/Bugzilla/RelationSet.pm +++ b/Bugzilla/RelationSet.pm @@ -103,8 +103,8 @@ sub generateSqlDeltas { if ( $#insertList > -1 ) { $sqlInsert = "INSERT INTO $table ($invariantName, $columnName) VALUES " . join (",", - map ( "($invariantValue, $_)" , @insertList ) - ); + map ( "($invariantValue, $_)" , @insertList ) + ); } # construct the delete list by seeing which relations exist in the |