summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-12-03 18:44:38 +0100
committerbbaetz%student.usyd.edu.au <>2002-12-03 18:44:38 +0100
commit179d6c8d7140d7ca710759ec35de00abcc646c4f (patch)
tree470d1600a8af79ba01bc17dccb980998f32be1ea /Bugzilla
parent26b0bc8a1668e4f05b32ab16c7eaf363edc4432e (diff)
downloadbugzilla-179d6c8d7140d7ca710759ec35de00abcc646c4f.tar.gz
bugzilla-179d6c8d7140d7ca710759ec35de00abcc646c4f.tar.xz
Bug 182946 - fix regressions from bug 171493
(Bug.pm/show_bug.cgi/bug_form.pl reorg) r,a=justdave
Diffstat (limited to 'Bugzilla')
-rwxr-xr-xBugzilla/Bug.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 91c20780a..29f2e9b73 100755
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -143,7 +143,7 @@ sub initBug {
"assigned_to", "reporter", "bug_file_loc", "short_desc",
"target_milestone", "qa_contact", "status_whiteboard",
"creation_ts", "delta_ts", "votes",
- "reporter_accessible", "cclist_accessible".
+ "reporter_accessible", "cclist_accessible",
"estimated_time", "remaining_time")
{
$fields{$field} = shift @row;
@@ -233,9 +233,9 @@ sub initBug {
if (@depends) {
$self->{'dependson'} = \@depends;
}
- my @blocks = EmitDependList("dependson", "blocked", $bug_id);
- if (@blocks) {
- $self->{'blocks'} = \@blocks;
+ my @blocked = EmitDependList("dependson", "blocked", $bug_id);
+ if (@blocked) {
+ $self->{'blocked'} = \@blocked;
}
return $self;
@@ -454,7 +454,7 @@ sub emitXML {
}
}
- foreach my $field ("dependson", "blocks", "cc") {
+ foreach my $field ("dependson", "blocked", "cc") {
if (defined $self->{$field}) {
for (my $i=0 ; $i < @{$self->{$field}} ; $i++) {
$xml .= " <$field>" . $self->{$field}[$i] . "</$field>\n";