Index: ossp-pkg/shiela/shiela.pl RCS File: /v/ossp/cvs/ossp-pkg/shiela/shiela.pl,v rcsdiff -q -kk '-r1.12' '-r1.13' -u '/v/ossp/cvs/ossp-pkg/shiela/shiela.pl,v' 2>/dev/null --- shiela.pl 2001/12/03 11:39:49 1.12 +++ shiela.pl 2001/12/06 10:13:58 1.13 @@ -1837,9 +1837,11 @@ print "cvs commit: Mailing commit message to <$logurl>\n"; my $sm = new Sendmail ($RT, $logurl); $sm->header('Subject', $subject); - if ($CF->{Logging}->{Report}->{$logtype}->{Details} eq 'diff:mime') { - $sm->header('Content-Type', - "multipart/mixed; boundary=\"".$RT->{mimeboundary}."\""); + if (defined($CF->{Logging}->{Report}->{$logtype}->{Details})) { + if ($CF->{Logging}->{Report}->{$logtype}->{Details} eq 'diff:mime') { + $sm->header('Content-Type', + "multipart/mixed; boundary=\"".$RT->{mimeboundary}."\""); + } } $sm->body($logmsg); $sm->close;