]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 309221: Attachments table displays zero size for locally stored attachments
authorbugreport%peshkin.net <>
Wed, 21 Sep 2005 11:30:30 +0000 (11:30 +0000)
committerbugreport%peshkin.net <>
Wed, 21 Sep 2005 11:30:30 +0000 (11:30 +0000)
Patch by Joel Peshkin <bugreport@peshkin.net>
r=lpsolit, a=justdave

Bugzilla/Attachment.pm

index 578f67b1fc7e5bbd8752d3b049c6fbb7e51a6af9..4a61154b78d069eb89f0572cb40a29b0284483f0 100644 (file)
@@ -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