Browse files

19967: Fix inverted logic - show 'View as HTML' link for all but opti…

…on 0
  • Loading branch information...
1 parent a68ebfd commit 6ac74a53435f7f664a35a9630bd11c471051a1f9 TJ committed Oct 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mailboxes/view_mail.cgi
View
2 mailboxes/view_mail.cgi
@@ -147,7 +147,7 @@ if ($body && $body->{'data'} =~ /\S/) {
$config{'link_mode'})."\n";
}
$bodycontents .= "</pre>";
- if ($htmlbody && $userconfig{'view_html'} == 0) {
+ if ($htmlbody && $userconfig{'view_html'} != 0) {
push(@bodyright,
"<a href='$hbase&body=2'>$text{'view_ashtml'}</a>");
}

0 comments on commit 6ac74a5

Please sign in to comment.