Commit f4d0ddc5 authored by bugreport%peshkin.net's avatar bugreport%peshkin.net

Bug 309221: Attachments table displays zero size for locally stored attachments

Patch by Joel Peshkin <bugreport@peshkin.net> r=lpsolit, a=justdave
parent 0ec82863
...@@ -367,7 +367,7 @@ sub _get_local_filename { ...@@ -367,7 +367,7 @@ sub _get_local_filename {
my $self = shift; my $self = shift;
my $hash = ($self->id % 100) + 100; my $hash = ($self->id % 100) + 100;
$hash =~ s/.*(\d\d)$/group.$1/; $hash =~ s/.*(\d\d)$/group.$1/;
return "$attachdir/$hash/attachment.$self->id"; return "$attachdir/$hash/attachment." . $self->id;
} }
=pod =pod
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment