From f4d0ddc58cc872a275053f7e1f8849acd864241a Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Wed, 21 Sep 2005 11:30:30 +0000 Subject: [PATCH] Bug 309221: Attachments table displays zero size for locally stored attachments Patch by Joel Peshkin r=lpsolit, a=justdave --- Bugzilla/Attachment.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 578f67b1fc..4a61154b78 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 -- 2.47.2