Skip to content

Commit

Permalink
Fix reveresed logic.
Browse files Browse the repository at this point in the history
Fixes displaying text/plain part of an alternative part when
the 'alternative_display' pref is 'text'.
  • Loading branch information
mrubinsk committed Mar 13, 2015
1 parent 5e256b2 commit f4afa3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/lib/Mime/Viewer/Alternative.php
Expand Up @@ -84,7 +84,7 @@ protected function _IMPrender($inline)
* alternative_display is not 'html'. */
(!$prefer_plain ||
(($val->getType() != 'text/html') &&
($val->getPrimaryType() != 'text')))) {
($val->getPrimaryType() == 'text')))) {
$display_ids[strval($id)] = true;
}
}
Expand Down

0 comments on commit f4afa3a

Please sign in to comment.