зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
f6b85d28c8
Коммит
286443725b
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче