Further corrections.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@478 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan committed 2003-04-13 23:07:07 +00:00
1 parent 578673d4ea
commit 0cd2cbcaf8
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -477,7 +477,7 @@ sub sendEmail
my $subject = substituteTags( $email_subject, $filter, $event );
my @attachments;
my $body = substituteTags( $email_body, $filter, $event, @attachments );
my $body = substituteTags( $email_body, $filter, $event, \@attachments );
print( "Sending notification email '$subject'\n" );
print( "$body\n" ) if ( VERBOSE );
@@ -533,7 +533,7 @@ sub sendMessage
my $subject = substituteTags( $message_subject, $filter, $event );
my @attachments;
my $body = substituteTags( $message_body, $filter, $event, @$attachments );
my $body = substituteTags( $message_body, $filter, $event, \@attachments );
print( "Sending notification message '$subject'\n" );
print( "$body\n" ) if ( VERBOSE );
+1 -1
View File
@@ -207,7 +207,7 @@ function createVideo( $event )
{
$command = ZM_PATH_BIN."/zmvideo.pl -e $event[Id]";
$result = exec( $command, $output, $status );
return( $status?"":$result );
return( $status?"":rtrim($result) );
}
?>