mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-27 00:38:30 -04:00
Further corrections.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@478 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
1 parent
578673d4ea
commit
0cd2cbcaf8
2 files changed
+3
-3
No files matched your search
@@ -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
@@ -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) );
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user