'attachments.bug_id AS bug_id',
'attachments.description AS description',
'attachments.mimetype AS contenttype',
- 'attachments.submitter_id AS _attacher_id',
+ 'attachments.submitter_id AS attacher_id',
Bugzilla->dbh->sql_date_format('attachments.creation_ts',
'%Y.%m.%d %H:%i') . " AS attached",
'attachments.modification_time',
sub attacher {
my $self = shift;
return $self->{attacher} if exists $self->{attacher};
- $self->{attacher} = new Bugzilla::User($self->{_attacher_id});
+ $self->{attacher} = new Bugzilla::User($self->{attacher_id});
return $self->{attacher};
}
my %values = %{$dbh->selectrow_hashref(
'SELECT ' . join(',', editable_bug_fields()) . ', reporter,
- lastdiffed AS start, LOCALTIMESTAMP(0) AS end
+ lastdiffed AS start_time, LOCALTIMESTAMP(0) AS end_time
FROM bugs WHERE bug_id = ?',
undef, $id)};
my $component = new Bugzilla::Component($values{component_id});
$values{component} = $component->name;
- my ($start, $end) = ($values{start}, $values{end});
+ my ($start, $end) = ($values{start_time}, $values{end_time});
# User IDs of people in various roles. More than one person can 'have' a
# role, if the person in that role has changed, or people are watching.