fix: Syntax error in GetCsMail

This commit is contained in:
JT Smith 2008-04-04 00:46:57 +00:00
parent 5c25772a83
commit 3f283d7df5
2 changed files with 2 additions and 1 deletions

View file

@ -82,7 +82,7 @@ sub addPost {
$text = WebGUI::HTML::filter($text, "all");
$text = WebGUI::HTML::format($text, "text");
}
elsif ($part->type eq 'text/html') {
elsif ($part->{type} eq 'text/html') {
$text = WebGUI::HTML::cleanSegment($text);
}
$content .= $text;