summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-12-12 08:51:14 +0100
committermkanat%bugzilla.org <>2007-12-12 08:51:14 +0100
commit25de3add9dedd00d20ff9e35a5d20f3163ee9437 (patch)
tree03587d62848baa9c2ed78387a60189bc1f8b25ee /Bugzilla/Attachment.pm
parent9e83ca098cfe7cb817568510a97d4ad375f4131b (diff)
downloadbugzilla-25de3add9dedd00d20ff9e35a5d20f3163ee9437.tar.gz
bugzilla-25de3add9dedd00d20ff9e35a5d20f3163ee9437.tar.xz
Bug 375007: [Oracle] Some CGIs use SQL names in their "AS" clauses that don't work in Oracle
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r--Bugzilla/Attachment.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index e3fe39f3a..f853cff04 100644
--- a/Bugzilla/Attachment.pm
+++ b/Bugzilla/Attachment.pm
@@ -88,7 +88,7 @@ sub _retrieve {
'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',
@@ -188,7 +188,7 @@ the user who attached the attachment
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};
}