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

Patch by Joel Peshkin <bugreport@peshkin.net>
r=lpsolit, a=justdave
This commit is contained in:
bugreport%peshkin.net 2005-09-21 04:30:30 +00:00
Родитель f6b85d28c8
Коммит 286443725b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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