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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user