diff options
author | bugreport%peshkin.net <> | 2005-09-21 13:30:30 +0200 |
---|---|---|
committer | bugreport%peshkin.net <> | 2005-09-21 13:30:30 +0200 |
commit | f4d0ddc58cc872a275053f7e1f8849acd864241a (patch) | |
tree | 4a8981a78d663acb49f7090409bf398d34f68c85 /Bugzilla | |
parent | 0ec82863cc33538d88416c7a467ca9fa8b0319ae (diff) | |
download | bugzilla-f4d0ddc58cc872a275053f7e1f8849acd864241a.tar.gz bugzilla-f4d0ddc58cc872a275053f7e1f8849acd864241a.tar.xz |
Bug 309221: Attachments table displays zero size for locally stored attachments
Patch by Joel Peshkin <bugreport@peshkin.net>
r=lpsolit, a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Attachment.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 578f67b1f..4a61154b7 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -367,7 +367,7 @@ sub _get_local_filename { my $self = shift; my $hash = ($self->id % 100) + 100; $hash =~ s/.*(\d\d)$/group.$1/; - return "$attachdir/$hash/attachment.$self->id"; + return "$attachdir/$hash/attachment." . $self->id; } =pod |