Bug 322712: Cannot export local attachments (attachments are truncated) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk

git-svn-id: svn://10.0.0.236/trunk@187187 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com
2006-01-09 20:38:57 +00:00
parent 69188b1d9f
commit 0e7d86117e

View File

@@ -304,6 +304,7 @@ sub data {
# in a local file, so retrieve it from there.
if (length($self->{data}) == 0) {
if (open(AH, $self->_get_local_filename())) {
local $/;
binmode AH;
$self->{data} = <AH>;
close(AH);