ossp-pkg/shiela/shiela.pl 1.12 -> 1.13
--- 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;
|
|