Skip to content

Commit

Permalink
IMAP: Fix subject line encoding if using UTF-8.
Browse files Browse the repository at this point in the history
Fixes #61.
  • Loading branch information
r-a-y committed May 31, 2016
1 parent 6cddcea commit f7b5c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/bp-reply-by-email-imap.php
Expand Up @@ -122,7 +122,7 @@ public function run() {
'from_email' => BP_Reply_By_Email_Parser::get_header( $headers, 'From' ),
'content' => $content,
'is_html' => self::$html,
'subject' => BP_Reply_By_Email_Parser::get_header( $headers, 'Subject' )
'subject' => imap_utf8( BP_Reply_By_Email_Parser::get_header( $headers, 'Subject' ) )
);

$parser = BP_Reply_By_Email_Parser::init( $data, $i );
Expand Down

0 comments on commit f7b5c6a

Please sign in to comment.