Skip to content

Commit

Permalink
Horde_Stream#close() isn't in released code yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 1, 2013
1 parent 0f053da commit a949e14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/ActiveSync/lib/Horde/ActiveSync/Imap/Adapter.php
Expand Up @@ -934,7 +934,7 @@ protected function _buildMailMessage(
$stream->add($message_body_data['plain']['body']);
stream_filter_append($stream->stream, 'horde_eol', STREAM_FILTER_READ, array('eol' => $stream->getEOL()));
$plain_mime->setContents($stream->stream);
$stream->close();
fclose($stream->stream);
$plain_mime->setCharset('UTF-8');
$mime->addPart($plain_mime);
}
Expand All @@ -953,7 +953,7 @@ protected function _buildMailMessage(
$stream->add($message_body_data['html']['body']);
stream_filter_append($stream->stream, 'horde_eol', STREAM_FILTER_READ, array('eol' => $stream->getEOL()));
$html_mime->setContents($stream->stream);
$stream->close();
fclose($stream->stream);
$html_mime->setCharset('UTF-8');
$mime->addPart($html_mime);
}
Expand Down Expand Up @@ -1545,4 +1545,4 @@ protected function _validateUtf8($data, $from_charset)
return $text;
}

}
}

0 comments on commit a949e14

Please sign in to comment.